X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=preclustercommand.cpp;fp=preclustercommand.cpp;h=9acfa650a3822a6a771d42d2740a56c8ce773930;hb=60928795782d8f8648ec373d6a96b53032a77429;hp=05c8b7d42a1ba7de160449f02707097800357bea;hpb=cbbf2f185fc7289910bb69421095c1de024c5225;p=mothur.git diff --git a/preclustercommand.cpp b/preclustercommand.cpp index 05c8b7d..9acfa65 100644 --- a/preclustercommand.cpp +++ b/preclustercommand.cpp @@ -390,9 +390,9 @@ int PreClusterCommand::createProcessesGroups(string newFName, string newNName, s process++; }else if (pid == 0){ outputNames.clear(); - num = driverGroups(newFName + toString(getpid()) + ".temp", newNName + toString(getpid()) + ".temp", newMFile, lines[process].start, lines[process].end, groups); + num = driverGroups(newFName + m->mothurGetpid(process) + ".temp", newNName + m->mothurGetpid(process) + ".temp", newMFile, lines[process].start, lines[process].end, groups); - string tempFile = toString(getpid()) + ".outputNames.temp"; + string tempFile = m->mothurGetpid(process) + ".outputNames.temp"; ofstream outTemp; m->openOutputFile(tempFile, outTemp);