X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.cpp;fp=rarefactsharedcommand.cpp;h=fe92f97038eea51cd87a05608bad0e2525070c58;hb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;hp=0292cba70c536b38049dc943957127ec9a0cb95f;hpb=8bcd146863e2a44d6d4fb5dee2d3f17e975deb45;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index 0292cba..fe92f97 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -147,6 +147,11 @@ RareFactSharedCommand::RareFactSharedCommand(string option) { if (calc == "default") { calc = "sharedobserved"; } } m->splitAtDash(calc, Estimators); + if (m->inUsersGroups("citation", Estimators)) { + ValidCalculators validCalc; validCalc.printCitations(Estimators); + //remove citation from list of calcs + for (int i = 0; i < Estimators.size(); i++) { if (Estimators[i] == "citation") { Estimators.erase(Estimators.begin()+i); break; } } + } groups = validParameter.validFile(parameters, "groups", false); if (groups == "not found") { groups = ""; }