]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterdoturcommand.cpp
fixed metastats, added resize to cluster.classic, added code to kill children if...
[mothur.git] / clusterdoturcommand.cpp
index 4987d4e9305b86496e9d7655a62d27e6a1c779a2..56fbd5c0d6c2b8e9380959bd6ba97435b28fcd70 100644 (file)
@@ -227,7 +227,7 @@ int ClusterDoturCommand::execute(){
                
                int estart = time(NULL);
        
-               while ((cluster->getSmallDist() < cutoff) && (cluster->getNSeqs() > 0)){
+               while ((cluster->getSmallDist() < cutoff) && (cluster->getNSeqs() > 1)){
                        if (m->control_pressed) { delete cluster; delete list; delete rabund; sabundFile.close();rabundFile.close();listFile.close();  for (int i = 0; i < outputNames.size(); i++) {   remove(outputNames[i].c_str());         } outputTypes.clear();  return 0;  }
                
                        cluster->update(cutoff);