]> git.donarmstrong.com Git - mothur.git/blobdiff - nmdscommand.cpp
working on current change
[mothur.git] / nmdscommand.cpp
index 4567dbba1e7b0b16e88f496307ef3cb7ff3a8650..946aa68ab24ed5a10800d6d5c9e2ca32f4fd2ade 100644 (file)
@@ -128,7 +128,7 @@ NMDSCommand::NMDSCommand(string option)  {
                                phylipfile = m->getPhylipFile(); 
                                if (phylipfile != "") { m->mothurOut("Using " + phylipfile + " 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(phylipfile); } 
                        
                        axesfile = validParameter.validFile(parameters, "axes", true);
                        if (axesfile == "not open") { axesfile = ""; abort = true; }