]> git.donarmstrong.com Git - mothur.git/blobdiff - amovacommand.cpp
random chagnes from pat
[mothur.git] / amovacommand.cpp
index b9b5deeb5e670ef2f119eb09bded37ab870efe4d..8ab08553c4969268be12230b68f0f80303da2989 100644 (file)
@@ -115,12 +115,8 @@ AmovaCommand::AmovaCommand(string option) {
                        
                        phylipFileName = validParameter.validFile(parameters, "phylip", true);
                        if (phylipFileName == "not open") { phylipFileName = ""; abort = true; }
-                       else if (phylipFileName == "not found") { phylipFileName = ""; }        
-                       else if (designFileName == "not found") {
-                               designFileName = "";
-                               m->mothurOut("You must provide an phylip file.");
-                               m->mothurOutEndLine();
-                               abort = true;
+                       else if (phylipFileName == "not found") { 
+                               phylipFileName = ""; 
                        }       
                        
                        //check for required parameters
@@ -128,9 +124,6 @@ AmovaCommand::AmovaCommand(string option) {
                        if (designFileName == "not open") { abort = true; }
                        else if (designFileName == "not found") {
                                designFileName = "";
-                               m->mothurOut("You must provide an design file.");
-                               m->mothurOutEndLine();
-                               abort = true;
                        }       
 
                        string temp = validParameter.validFile(parameters, "iters", false);