]> git.donarmstrong.com Git - mothur.git/blobdiff - indicatorcommand.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / indicatorcommand.cpp
index ab6e67027b1fe85ff97e2e7d40c1b6f9ff3ff1bc..36640e72b7995710565325658cfafa1ddfc67f58 100644 (file)
@@ -1201,7 +1201,7 @@ vector<float> IndicatorCommand::getPValues(vector< vector<SharedRAbundFloatVecto
                                        
                                        //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
@@ -1379,7 +1379,7 @@ vector<float> IndicatorCommand::getPValues(vector< vector<SharedRAbundVector*> >
                                        
                                        //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