]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.cpp
added parse.list command
[mothur.git] / clustercommand.cpp
index d14af108d69c36f98617fc2e133c3dcfb537c553..e4e2d2104e3af44829990b01cef6782147359b98 100644 (file)
@@ -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) {