]> git.donarmstrong.com Git - mothur.git/blobdiff - parselistscommand.cpp
working on current change
[mothur.git] / parselistscommand.cpp
index b791be7efcbffa74c7aa2e7f325cc4e8d39e00fb..e2c3e011c028a71bf79585519a7bbd9e25439c74 100644 (file)
@@ -123,7 +123,7 @@ ParseListCommand::ParseListCommand(string option)  {
                                        abort = true;
                                                
                                }
-                       }       
+                       }else { m->setListFile(listfile); }     
                        
                        groupfile = validParameter.validFile(parameters, "group", true);
                        if (groupfile == "not open") { abort = true; }  
@@ -137,6 +137,7 @@ ParseListCommand::ParseListCommand(string option)  {
                                        if (error == 1) { abort = true; }
                                }else { m->mothurOut("No valid current group file. You must provide a group file."); m->mothurOutEndLine();  abort = true; } 
                        }else {  
+                               m->setGroupFile(groupfile);
                                groupMap = new GroupMap(groupfile);
                                
                                int error = groupMap->readMap();