X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimseqscommand.cpp;h=b208209e2a808a0f92cca9f160f4da456450e153;hb=66d24c0ac3c96d3e1bce9217032ece55dd3609eb;hp=53084078f3d4c079773a4e1cb73ebb1774726b37;hpb=0bd3a2d33b478f0b09fd6b8ce562e9ab41227535;p=mothur.git diff --git a/trimseqscommand.cpp b/trimseqscommand.cpp index 5308407..b208209 100644 --- a/trimseqscommand.cpp +++ b/trimseqscommand.cpp @@ -1152,6 +1152,9 @@ int TrimSeqsCommand::createProcessesCreateTrim(string filename, string qFileName //Close all thread handles and free memory allocations. for(int i=0; i < pDataArray.size(); i++){ + if (pDataArray[i]->count != pDataArray[i]->lineEnd) { + m->mothurOut("[ERROR]: process " + toString(i) + " only processed " + toString(pDataArray[i]->count) + " of " + toString(pDataArray[i]->lineEnd) + " sequences assigned to it, quitting. \n"); m->control_pressed = true; + } for (map::iterator it = pDataArray[i]->groupCounts.begin(); it != pDataArray[i]->groupCounts.end(); it++) { map::iterator it2 = groupCounts.find(it->first); if (it2 == groupCounts.end()) { groupCounts[it->first] = it->second; }