X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimflowscommand.cpp;h=37beccd53455ec4f07cabb24ac88b1a3e2f28253;hb=60928795782d8f8648ec373d6a96b53032a77429;hp=33349decab52e90be19c928b44b9b07c8f6c710a;hpb=ffa535cf04326227080b02594616971a2c3a5195;p=mothur.git diff --git a/trimflowscommand.cpp b/trimflowscommand.cpp index 33349de..37beccd 100644 --- a/trimflowscommand.cpp +++ b/trimflowscommand.cpp @@ -837,7 +837,7 @@ int TrimFlowsCommand::createProcessesCreateTrim(string flowFileName, string trim for(int i=0;imothurGetpid(process) + ".temp"; ofstream temp; m->openOutputFile(tempBarcodePrimerComboFileNames[i][j], temp); temp.close(); @@ -846,9 +846,9 @@ int TrimFlowsCommand::createProcessesCreateTrim(string flowFileName, string trim } } driverCreateTrim(flowFileName, - (trimFlowFileName + toString(getpid()) + ".temp"), - (scrapFlowFileName + toString(getpid()) + ".temp"), - (fastaFileName + toString(getpid()) + ".temp"), + (trimFlowFileName + m->mothurGetpid(process) + ".temp"), + (scrapFlowFileName + m->mothurGetpid(process) + ".temp"), + (fastaFileName + m->mothurGetpid(process) + ".temp"), tempBarcodePrimerComboFileNames, lines[process]); exit(0);