if (percentFreq < 1.0) { increment = numSeqs * percentFreq; }
else { increment = percentFreq; }
- #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
+ #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
if(processors == 1){
driver(rcd, increment, nIters);
}else{
int Rarefact::createProcesses(vector<int>& procIters, RarefactionCurveData* rcd, int increment) {
try {
-#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
+#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux) || (__linux__) || (__unix__) || (__unix)
int process = 1;
vector<int> processIDS;
for(int j=0;j<displays.size();j++){
string s = toString(processIDS[i]) + toString(j) + ".rarefact.temp";
displays[j]->inputTempFiles(s);
- remove(s.c_str());
+ m->mothurRemove(s);
}
}
}
//if jumble is false all iters will be the same
- if (globaldata->jumble == false) { nIters = 1; }
+ if (m->jumble == false) { nIters = 1; }
//convert freq percentage to number
int increment = 1;
displays[i]->init(label);
}
- if (globaldata->jumble == true) {
+ if (m->jumble == true) {
//randomize the groups
random_shuffle(lookup.begin(), lookup.end());
}