]> git.donarmstrong.com Git - mothur.git/blobdiff - metastatscommand.cpp
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / metastatscommand.cpp
index 8e61b37ee0e5639c76d3adf3f23ae0b4eefd234f..9dff3543f49efa25037ce7fb3dd9eeeebbe8c787 100644 (file)
@@ -431,6 +431,9 @@ int MetaStatsCommand::process(vector<SharedRAbundVector*>& thisLookUp){
                     
                     //Close all thread handles and free memory allocations.
                     for(int i=0; i < pDataArray.size(); i++){
+                        if (pDataArray[i]->count != (pDataArray[i]->num)) {
+                            m->mothurOut("[ERROR]: process " + toString(i) + " only processed " + toString(pDataArray[i]->count) + " of " + toString(pDataArray[i]->num) + " groups assigned to it, quitting. \n"); m->control_pressed = true; 
+                        }
                         for (int j = 0; j < pDataArray[i]->thisLookUp.size(); j++) {  delete pDataArray[i]->thisLookUp[j];  } 
                         for (int j = 0; j < pDataArray[i]->outputNames.size(); j++) {  
                             outputNames.push_back(pDataArray[i]->outputNames[j]);