]> git.donarmstrong.com Git - mothur.git/blobdiff - errorchecking.cpp
made sorting optional but sort by default, in case the user wants to see the heatmap...
[mothur.git] / errorchecking.cpp
index 59095f76e3bf46c652361e7b270f1c9ca8ebc7a1..a057e5d1b396d69af85142d3695d326176b8fd0c 100644 (file)
@@ -110,6 +110,7 @@ bool ErrorCheck::checkInput(string input) {
                                if (parameter == "label" )                      { label = value; }
                                if (parameter == "abund" )          { abund = value; }
                                if (parameter == "random" )                     { randomtree = value;   }
+                               if (parameter == "sorted" )                     { sorted = value;       }
                        }
                        
                        //gets the last parameter and value
@@ -142,6 +143,7 @@ bool ErrorCheck::checkInput(string input) {
                                if (parameter == "label" )                      { label = value; }
                                if (parameter == "random" )                     { randomtree = value;   }
                                if (parameter == "abund" )          { abund = value; }
+                               if (parameter == "sorted" )                     { sorted = value;       }
                        }
                }