]> git.donarmstrong.com Git - mothur.git/blobdiff - homovacommand.cpp
working on current change
[mothur.git] / homovacommand.cpp
index a8d2786f085ef584ba5f18069dfea2c5a51da572..22fd1bff1b0af5ac23532423f7b42471e1b6b3b3 100644 (file)
@@ -125,7 +125,7 @@ HomovaCommand::HomovaCommand(string option) {
                                if (phylipFileName != "") { m->mothurOut("Using " + phylipFileName + " as input file for the phylip parameter."); m->mothurOutEndLine(); }
                                else {  m->mothurOut("You have no current phylip file and the phylip parameter is required."); m->mothurOutEndLine(); abort = true; }
                                
-                       }       
+                       }else { m->setPhylipFile(phylipFileName); }     
                        
                        //check for required parameters
                        designFileName = validParameter.validFile(parameters, "design", true);
@@ -135,7 +135,7 @@ HomovaCommand::HomovaCommand(string option) {
                                designFileName = m->getDesignFile(); 
                                if (designFileName != "") { m->mothurOut("Using " + designFileName + " as input file for the design parameter."); m->mothurOutEndLine(); }
                                else {  m->mothurOut("You have no current design file and the design parameter is required."); m->mothurOutEndLine(); abort = true; }                                                           
-                       }       
+                       }else { m->setDesignFile(designFileName); }     
                        
                        string temp = validParameter.validFile(parameters, "iters", false);
                        if (temp == "not found") { temp = "1000"; }