X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=catchallcommand.cpp;h=69b9f04becdbb492fc69209837be5a0581123b99;hb=0e40e23448c2ee274268d85e0d0e65cb9eaeee6f;hp=8e29d6294c942369b178eea7b3cf6a0c3e7ba272;hpb=5e5253ff472de3c6349e562d2580873287be0c65;p=mothur.git diff --git a/catchallcommand.cpp b/catchallcommand.cpp index 8e29d62..69b9f04 100644 --- a/catchallcommand.cpp +++ b/catchallcommand.cpp @@ -121,6 +121,11 @@ CatchAllCommand::CatchAllCommand(string option) { if (sharedfile == "not open") { sharedfile = ""; abort = true; } else if (sharedfile == "not found") { sharedfile = ""; } + //check for shared file loaded during read.otu + if (sharedfile == "") { + if (globaldata->getSharedFile() != "") { sharedfile = globaldata->getSharedFile(); } + } + string label = validParameter.validFile(parameters, "label", false); if (label == "not found") { label = ""; } else {