]> git.donarmstrong.com Git - mothur.git/blobdiff - weighted.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / weighted.cpp
index 49bf6bf1fd2a2053ed7f3f7e0ea30fb5595400a0..91a21445e023e120b5409e7456062d8b863cca21 100644 (file)
@@ -79,7 +79,7 @@ EstOutput Weighted::createProcesses(Tree* t, vector< vector<string> > 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;