X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=rarefactsharedcommand.cpp;fp=rarefactsharedcommand.cpp;h=717fec2fea1fc1ba23564fc683149e38d177496e;hb=7bf9a81bba76538ecaf351ae208de3da4bf1b6dd;hp=fe92f97038eea51cd87a05608bad0e2525070c58;hpb=220dc345e493cddc569521111ce32ac4d965ab7f;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index fe92f97..717fec2 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -124,7 +124,7 @@ RareFactSharedCommand::RareFactSharedCommand(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