]> git.donarmstrong.com Git - mothur.git/blobdiff - splitabundcommand.cpp
changes while setting up test files
[mothur.git] / splitabundcommand.cpp
index f7490f73b3411e9335ba21fa329e6a9b0fc63c0c..9c514a9371ae37a24114c3eacf59424733040cfc 100644 (file)
@@ -84,9 +84,7 @@ SplitAbundCommand::SplitAbundCommand(string option)  {
                if(option == "help") { help(); abort = true; calledHelp = true; }
                
                else {
-                       //valid paramters for this command
-                       string Array[] =  {"name","group","list","label","accnos","groups","fasta","cutoff","outputdir","inputdir"}; //
-                       vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+                       vector<string> myArray = setParameters();
                        
                        OptionParser parser(option);
                        map<string, string> parameters = parser.getParameters();