]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedcommand.cpp
working on current change
[mothur.git] / sharedcommand.cpp
index b322007bc5e8ef6cba50d4c6d2ff5fce0b87a0fa..38bc480836ba114e3ed55d0c1aa65f4e33d4218a 100644 (file)
@@ -131,7 +131,7 @@ SharedCommand::SharedCommand(string option)  {
                                 listfile = m->getListFile(); 
                                 if (listfile != "") { m->mothurOut("Using " + listfile + " as input file for the list parameter."); m->mothurOutEndLine(); }
                                 else {         m->mothurOut("You have no current list file and the list parameter is required."); m->mothurOutEndLine(); abort = true; }
-                        }      
+                        }else { m->setListFile(listfile); }    
                                                        
                         ordergroupfile = validParameter.validFile(parameters, "ordergroup", true);
                         if (ordergroupfile == "not open") { abort = true; }