X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=weighted.cpp;h=91a21445e023e120b5409e7456062d8b863cca21;hb=60928795782d8f8648ec373d6a96b53032a77429;hp=49bf6bf1fd2a2053ed7f3f7e0ea30fb5595400a0;hpb=cbbf2f185fc7289910bb69421095c1de024c5225;p=mothur.git diff --git a/weighted.cpp b/weighted.cpp index 49bf6bf..91a2144 100644 --- a/weighted.cpp +++ b/weighted.cpp @@ -79,7 +79,7 @@ EstOutput Weighted::createProcesses(Tree* t, vector< vector > namesOfGro //pass numSeqs to parent ofstream out; - string tempFile = outputDir + toString(getpid()) + ".weighted.results.temp"; + string tempFile = outputDir + m->mothurGetpid(process) + ".weighted.results.temp"; m->openOutputFile(tempFile, out); out << Myresults.size() << endl;