]> git.donarmstrong.com Git - mothur.git/blobdiff - getrelabundcommand.cpp
working on current change
[mothur.git] / getrelabundcommand.cpp
index d4caf5b59a758899606cfc316b20cb386679307c..693e36d000891339b843115fa11bd338dbc7a103 100644 (file)
@@ -111,7 +111,7 @@ GetRelAbundCommand::GetRelAbundCommand(string option) {
                                sharedfile = m->getSharedFile(); 
                                if (sharedfile != "") { m->mothurOut("Using " + sharedfile + " as input file for the shared parameter."); m->mothurOutEndLine(); }
                                else {  m->mothurOut("You have no current sharedfile and the shared parameter is required."); m->mothurOutEndLine(); abort = true; }
-                       }
+                       }else { m->setSharedFile(sharedfile); }
                        
                        
                        //if the user changes the output directory command factory will send this info to us in the output parameter