X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clusterdoturcommand.cpp;h=56fbd5c0d6c2b8e9380959bd6ba97435b28fcd70;hb=3fd6dd6e4f19a458ac2966ee5458787e998a1bde;hp=4987d4e9305b86496e9d7655a62d27e6a1c779a2;hpb=09ce41fb228c00d0f49896c66b2f2c5760914769;p=mothur.git diff --git a/clusterdoturcommand.cpp b/clusterdoturcommand.cpp index 4987d4e..56fbd5c 100644 --- a/clusterdoturcommand.cpp +++ b/clusterdoturcommand.cpp @@ -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);