]> git.donarmstrong.com Git - mothur.git/blobdiff - clustercommand.cpp
modified calculators to use doubles, added numotu and fontsize parameters to heatmap...
[mothur.git] / clustercommand.cpp
index e9df82f6e430b9d11965248882cdc34a650b3a3f..3f27560ae9bfbc69c5ac3d49875847a829f49bf3 100644 (file)
@@ -232,7 +232,12 @@ int ClusterCommand::execute(){
                rabundFile.close();
                listFile.close();
        
-               if (saveCutoff != cutoff) { m->mothurOut("changed cutoff to " + toString(cutoff)); m->mothurOutEndLine();  }
+               if (saveCutoff != cutoff) { 
+                       if (hard)       {  saveCutoff = ceilDist(saveCutoff, precision);        }
+                       else            {       saveCutoff = roundDist(saveCutoff, precision);  }
+
+                       m->mothurOut("changed cutoff to " + toString(cutoff)); m->mothurOutEndLine(); 
+               }
                
                m->mothurOutEndLine();
                m->mothurOut("Output File Names: "); m->mothurOutEndLine();