X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactcommand.cpp;fp=rarefactcommand.cpp;h=82251c4a8fad67ea36fea2d7232b2f9171d5e3f5;hb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;hp=1c04bc4384fb632db099867821b6ffb3b4d79e95;hpb=8bcd146863e2a44d6d4fb5dee2d3f17e975deb45;p=mothur.git diff --git a/rarefactcommand.cpp b/rarefactcommand.cpp index 1c04bc4..82251c4 100644 --- a/rarefactcommand.cpp +++ b/rarefactcommand.cpp @@ -243,6 +243,11 @@ RareFactCommand::RareFactCommand(string option) { if (calc == "default") { calc = "sobs"; } } 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; } } + } string temp; temp = validParameter.validFile(parameters, "freq", false); if (temp == "not found") { temp = "100"; }