X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=heatmapsimcommand.cpp;fp=heatmapsimcommand.cpp;h=92271d9dad6d3532e3463fd7e0be4ad9dcbf395c;hp=0de3ffc4416f3d8e2318c64ef1a3a3cce240ed7d;hb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;hpb=8bcd146863e2a44d6d4fb5dee2d3f17e975deb45 diff --git a/heatmapsimcommand.cpp b/heatmapsimcommand.cpp index 0de3ffc..92271d9 100644 --- a/heatmapsimcommand.cpp +++ b/heatmapsimcommand.cpp @@ -223,6 +223,11 @@ HeatMapSimCommand::HeatMapSimCommand(string option) { if (calc == "default") { calc = "jest-thetayc"; } } 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 = ""; }