cout.setf(ios::showpoint);
vector<vector<float> > sharedVector;
- vector<string> otuNames = m->currentBinLabels;
+ vector<string> otuNames = m->currentSharedBinLabels;
//fill sharedVector to pass to CalcSparcc
for (int i = 0; i < lookup.size(); i++) {
//loop through and create all the processes you want
while (process != processors) {
- int pid = fork();
+ pid_t pid = fork();
if (pid > 0) {
processIDS.push_back(pid); //create map from line number to pid so you can append files in correct order later
//pass pvalues to parent
ofstream out;
- string tempFile = toString(getpid()) + ".pvalues.temp";
+ string tempFile = m->mothurGetpid(process) + ".pvalues.temp";
m->openOutputFile(tempFile, out);
//pass values