]> git.donarmstrong.com Git - mothur.git/blobdiff - getrabundcommand.cpp
working on current change
[mothur.git] / getrabundcommand.cpp
index f886c2369a87d757532b68456af89753f72bb9c6..9c89f7f82f1f93cbaadfa1277d2b1002a7fa3f0b 100644 (file)
@@ -116,12 +116,12 @@ GetRAbundCommand::GetRAbundCommand(string option)  {
                        listfile = validParameter.validFile(parameters, "list", true);
                        if (listfile == "not open") { listfile = ""; abort = true; }
                        else if (listfile == "not found") { listfile = ""; }
-                       else {  format = "list"; inputfile = listfile; }
+                       else {  format = "list"; inputfile = listfile; m->setListFile(listfile); }
                        
                        sabundfile = validParameter.validFile(parameters, "sabund", true);
                        if (sabundfile == "not open") { sabundfile = ""; abort = true; }        
                        else if (sabundfile == "not found") { sabundfile = ""; }
-                       else {  format = "sabund"; inputfile = sabundfile; }
+                       else {  format = "sabund"; inputfile = sabundfile; m->setSabundFile(sabundfile); }
                        
                        
                        //check for optional parameter and set defaults