]> git.donarmstrong.com Git - mothur.git/blobdiff - otuhierarchycommand.cpp
working on current change
[mothur.git] / otuhierarchycommand.cpp
index edfdaea6a1a5c02b1a8b0c96b10768be4770b1a5..b1f05398963ec330aa4a9409299715a02e25600e 100644 (file)
@@ -67,6 +67,7 @@ OtuHierarchyCommand::OtuHierarchyCommand(string option) {
                
                //allow user to run help
                if(option == "help") {  help(); abort = true; calledHelp = true; }
+               else if(option == "citation") { citation(); abort = true; calledHelp = true;}
                
                else {
                        vector<string> myArray = setParameters();
@@ -109,6 +110,7 @@ OtuHierarchyCommand::OtuHierarchyCommand(string option) {
                                        abort = true;
                                }
                        }else if (listFile == "not open") { abort = true; }     
+                       else { m->setListFile(listFile); }
                        
                        //if the user changes the output directory command factory will send this info to us in the output parameter 
                        outputDir = validParameter.validFile(parameters, "outputdir", false);           if (outputDir == "not found"){