]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / summarysharedcommand.cpp
index 9893ea747a1a58799280b259c0950f47837b1af7..e82d1f6600e0b83f79154634ddfbda43d7542d91 100644 (file)
@@ -742,6 +742,9 @@ int SummarySharedCommand::process(vector<SharedRAbundVector*> thisLookup, string
                 
                 //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; 
+                    }
                     m->appendFiles((sumFileName + toString(processIDS[i]) + ".temp"), sumFileName);
                     m->mothurRemove((sumFileName + toString(processIDS[i]) + ".temp"));