]> git.donarmstrong.com Git - mothur.git/blobdiff - hclustercommand.cpp
changes while setting up test files
[mothur.git] / hclustercommand.cpp
index 503bc48273069f829103788ce2711bc12d56ea42..310ad376733be3baa142f3bc1b110edbfc19e04d 100644 (file)
@@ -76,9 +76,7 @@ HClusterCommand::HClusterCommand(string option)  {
                if(option == "help") { help(); abort = true; calledHelp = true; }
                
                else {
-                       //valid paramters for this command
-                       string Array[] =  {"cutoff","hard","precision","method","phylip","column","name","sorted","showabund","timing","outputdir","inputdir"};
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();
                        
                        OptionParser parser(option);
                        map<string,string> parameters = parser.getParameters();