X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=shhhseqscommand.cpp;h=82d956189a6f025fd57dc7e901e585456f59f8ab;hp=3e3e5863c59abc69e4175eba7cb5b7d6f0e173c8;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=1a5c2356c1b955c6ec024b2baf9f46377ee7c72e diff --git a/shhhseqscommand.cpp b/shhhseqscommand.cpp index 3e3e586..82d9561 100644 --- a/shhhseqscommand.cpp +++ b/shhhseqscommand.cpp @@ -474,6 +474,9 @@ vector ShhhSeqsCommand::createProcessesGroups(SequenceParser& parser, st //Close all thread handles and free memory allocations. for(int i=0; i < pDataArray.size(); i++){ + if (pDataArray[i]->count != (pDataArray[i]->end-pDataArray[i]->start)) { + m->mothurOut("[ERROR]: process " + toString(i) + " only processed " + toString(pDataArray[i]->count) + " of " + toString(pDataArray[i]->end-pDataArray[i]->start) + " groups assigned to it, quitting. \n"); m->control_pressed = true; + } for (int j = 0; j < pDataArray[i]->mapfileNames.size(); j++) { mapfileNames.push_back(pDataArray[i]->mapfileNames[j]); }