X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collectsharedcommand.cpp;h=e61fb9bd02bad10c693bab5ce8a54ffa2b66f03f;hb=39ef0543b73cb12dfc64529522b66ad3df7527d0;hp=c473c2d77e819164d62799095ea6bf849d27c42a;hpb=7e0cf6431e287072c40b2c10c9e08199fce29ef4;p=mothur.git diff --git a/collectsharedcommand.cpp b/collectsharedcommand.cpp index c473c2d..e61fb9b 100644 --- a/collectsharedcommand.cpp +++ b/collectsharedcommand.cpp @@ -31,9 +31,6 @@ CollectSharedCommand::CollectSharedCommand(){ format = globaldata->getFormat(); validCalculator = new ValidCalculators(); - //set users groups - setGroups(); - int i; for (i=0; iEstimators.size(); i++) { if (validCalculator->isValidCalculator("shared", globaldata->Estimators[i]) == true) { @@ -112,6 +109,9 @@ int CollectSharedCommand::execute(){ order = SharedList->getSharedOrderVector(); } set orderList; + + //set users groups + setGroups(); while(order != NULL){ orderList.insert(order->getLabel());