X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustercommand.cpp;h=e4e2d2104e3af44829990b01cef6782147359b98;hb=a218321731df14d231bbc08e79906f757cf1540d;hp=d14af108d69c36f98617fc2e133c3dcfb537c553;hpb=818dcf9513122fa52616a7722f4893f77685a621;p=mothur.git diff --git a/clustercommand.cpp b/clustercommand.cpp index d14af10..e4e2d21 100644 --- a/clustercommand.cpp +++ b/clustercommand.cpp @@ -146,6 +146,7 @@ int ClusterCommand::execute(){ print_start = true; start = time(NULL); loops = 0; + double saveCutoff = cutoff; while (matrix->getSmallDist() < cutoff && matrix->getNNodes() > 0){ if (print_start && isTrue(timing)) { @@ -204,9 +205,14 @@ int ClusterCommand::execute(){ sabundFile.close(); rabundFile.close(); listFile.close(); + + if (saveCutoff != cutoff) { mothurOut("changed cutoff to " + toString(cutoff)); mothurOutEndLine(); } + //if (isTrue(timing)) { mothurOut("It took " + toString(time(NULL) - estart) + " seconds to cluster"); mothurOutEndLine(); //} + + return 0; } catch(exception& e) {