]> git.donarmstrong.com Git - mothur.git/blobdiff - hclustercommand.cpp
a few meaningless changes that are commented out
[mothur.git] / hclustercommand.cpp
index 582fc45f3f4744caf50705e6a10482509fbd4afe..310ad376733be3baa142f3bc1b110edbfc19e04d 100644 (file)
@@ -43,7 +43,7 @@ string HClusterCommand::getHelpString(){
                helpString += "The name parameter allows you to enter your name file and is required if your distance file is in column format. \n";
                helpString += "The hcluster command should be in the following format: \n";
                helpString += "hcluster(column=youDistanceFile, name=yourNameFile, method=yourMethod, cutoff=yourCutoff, precision=yourPrecision) \n";
-               helpString += "The acceptable hcluster methods are furthest, nearest, weighted and average.\n\n";       
+               helpString += "The acceptable hcluster methods are furthest, nearest, weighted and average.\n"; 
                return helpString;
        }
        catch(exception& e) {
@@ -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();