X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrelabundcommand.cpp;fp=getrelabundcommand.cpp;h=693e36d000891339b843115fa11bd338dbc7a103;hb=7bf9a81bba76538ecaf351ae208de3da4bf1b6dd;hp=d4caf5b59a758899606cfc316b20cb386679307c;hpb=220dc345e493cddc569521111ce32ac4d965ab7f;p=mothur.git diff --git a/getrelabundcommand.cpp b/getrelabundcommand.cpp index d4caf5b..693e36d 100644 --- a/getrelabundcommand.cpp +++ b/getrelabundcommand.cpp @@ -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