X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collectcommand.cpp;fp=collectcommand.cpp;h=7b8364b9b25d07e457508dbe5fe0153a4cc3a27f;hb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;hp=952131436cdb111a142970f3310b4283a1be7123;hpb=8bcd146863e2a44d6d4fb5dee2d3f17e975deb45;p=mothur.git diff --git a/collectcommand.cpp b/collectcommand.cpp index 9521314..7b8364b 100644 --- a/collectcommand.cpp +++ b/collectcommand.cpp @@ -272,6 +272,11 @@ CollectCommand::CollectCommand(string option) { if (calc == "default") { calc = "sobs-chao-ace-jack-shannon-npshannon-simpson"; } } 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"; }