]> git.donarmstrong.com Git - mothur.git/blobdiff - catchallcommand.cpp
working on current change
[mothur.git] / catchallcommand.cpp
index 29f2220dcc512d7a5db58bfee3c3767418ff7aa7..fd51664a21ffa6373ebf9fd46d0fe5f586eb288c 100644 (file)
@@ -119,10 +119,12 @@ CatchAllCommand::CatchAllCommand(string option)  {
                        sabundfile = validParameter.validFile(parameters, "sabund", true);
                        if (sabundfile == "not open") { sabundfile = ""; abort = true; }
                        else if (sabundfile == "not found") { sabundfile = "";  }
+                       else { m->setSabundFile(sabundfile); }
                        
                        sharedfile = validParameter.validFile(parameters, "shared", true);
                        if (sharedfile == "not open") { sharedfile = ""; abort = true; }
                        else if (sharedfile == "not found") { sharedfile = "";   }
+                       else { m->setSharedFile(sharedfile); }
                        
                        string label = validParameter.validFile(parameters, "label", false);                    
                        if (label == "not found") { label = ""; }