X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unweighted.cpp;h=30c54b69d2021acb5ed7b24f34971b52ce0cea77;hb=60928795782d8f8648ec373d6a96b53032a77429;hp=8fbd9d2fd64a90504e083f62418a54c40e8e26e1;hpb=cbbf2f185fc7289910bb69421095c1de024c5225;p=mothur.git diff --git a/unweighted.cpp b/unweighted.cpp index 8fbd9d2..30c54b6 100644 --- a/unweighted.cpp +++ b/unweighted.cpp @@ -100,7 +100,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector > namesOfG //pass numSeqs to parent ofstream out; - string tempFile = outputDir + toString(getpid()) + ".unweighted.results.temp"; + string tempFile = outputDir + m->mothurGetpid(process) + ".unweighted.results.temp"; m->openOutputFile(tempFile, out); out << myresults.size() << endl; for (int i = 0; i < myresults.size(); i++) { out << myresults[i] << '\t'; } out << endl; @@ -360,7 +360,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector > namesOfG //pass numSeqs to parent ofstream out; - string tempFile = outputDir + toString(getpid()) + ".unweighted.results.temp"; + string tempFile = outputDir + m->mothurGetpid(process) + ".unweighted.results.temp"; m->openOutputFile(tempFile, out); out << myresults.size() << endl; for (int i = 0; i < myresults.size(); i++) { out << myresults[i] << '\t'; } out << endl;