]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.cpp
precluster command finished
[mothur.git] / clustercommand.cpp
index d3b9bbf5a45d182e24b3ff8cc8bc45f6fcbc896a..baf4224c952a5a47bea7aa911f56196c6dabdead 100644 (file)
@@ -71,7 +71,8 @@ ClusterCommand::ClusterCommand(string option){
                        
                        if (abort == false) {
                        
-                               //get matrix, list and rabund for execute
+       
+                                                       //get matrix, list and rabund for execute
                                if(globaldata->gSparseMatrix != NULL)   {       matrix = globaldata->gSparseMatrix;             }
                        
                                if(globaldata->gListVector != NULL){
@@ -132,7 +133,7 @@ int ClusterCommand::execute(){
                if (abort == true) {    return 0;       }
                
                time_t estart = time(NULL);
-               int ndist = matrix->getNNodes();
+               //int ndist = matrix->getNNodes();
                float previousDist = 0.00000;
                float rndPreviousDist = 0.00000;
                oldRAbund = *rabund;
@@ -199,9 +200,9 @@ int ClusterCommand::execute(){
                sabundFile.close();
                rabundFile.close();
                listFile.close();
-               if (isTrue(timing)) {
-                       mothurOut("It took " + toString(time(NULL) - estart) + " seconds to cluster " + toString(ndist) + " distances"); mothurOutEndLine();
-               }
+               //if (isTrue(timing)) {
+                       mothurOut("It took " + toString(time(NULL) - estart) + " seconds to cluster"); mothurOutEndLine();
+               //}
                return 0;
        }
        catch(exception& e) {