]> git.donarmstrong.com Git - mothur.git/blobdiff - summaryqualcommand.cpp
added mothurgetpid function. fixed bug with align.seqs related to g++ 4.8 change...
[mothur.git] / summaryqualcommand.cpp
index 0f6f719ef568446af70438eb08579a81c7c6f3f6..3dc6582f93f6654c41b14c0da5739348d023b11b 100644 (file)
@@ -196,7 +196,7 @@ int SummaryQualCommand::execute(){
                if (namefile != "") { nameMap = m->readNames(namefile); }
                else if (countfile != "") {
             CountTable ct;
-            ct.readTable(countfile);
+            ct.readTable(countfile, false, false);
             nameMap = ct.getNameMap();
         }
         
@@ -347,7 +347,7 @@ int SummaryQualCommand::createProcessesCreateSummary(vector<int>& position, vect
                                
                                //pass numSeqs to parent
                                ofstream out;
-                               string tempFile = qualfile + toString(getpid()) + ".num.temp";
+                               string tempFile = qualfile + m->mothurGetpid(process) + ".num.temp";
                                m->openOutputFile(tempFile, out);
                                
                                out << numSeqs << endl;