]> git.donarmstrong.com Git - mothur.git/blobdiff - removelineagecommand.cpp
fixed bug with tree reading
[mothur.git] / removelineagecommand.cpp
index 021b56cd02f36aaa88edac90a8773ed1090bc5a0..cf26ea07385360e9b5180b68b901970f6fc4a732 100644 (file)
@@ -49,7 +49,7 @@ string RemoveLineageCommand::getHelpString(){
                helpString += "Example remove.lineage(taxonomy=amazon.silva.taxonomy, taxon=Bacteria;Firmicutes;Bacilli;Lactobacillales;).\n";
                helpString += "Note: If you are running mothur in script mode you must wrap the taxon in ' characters so mothur will ignore the ; in the taxon.\n";
                helpString += "Example remove.lineage(taxonomy=amazon.silva.taxonomy, taxon='Bacteria;Firmicutes;Bacilli;Lactobacillales;').\n";
-               helpString += "Note: No spaces between parameter labels (i.e. fasta), '=' and parameters (i.e.yourFasta).\n\n";
+               helpString += "Note: No spaces between parameter labels (i.e. fasta), '=' and parameters (i.e.yourFasta).\n";
                return helpString;
        }
        catch(exception& e) {
@@ -86,9 +86,7 @@ RemoveLineageCommand::RemoveLineageCommand(string option)  {
                if(option == "help") { help(); abort = true; calledHelp = true; }
                
                else {
-                       //valid paramters for this command
-                       string Array[] =  {"fasta","name", "group", "alignreport", "taxon", "dups", "list","taxonomy","outputdir","inputdir"};
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();       
                        
                        OptionParser parser(option);
                        map<string,string> parameters = parser.getParameters();