]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
deleted read.shared command and added its functionality to read.otu.
[mothur.git] / summarysharedcommand.cpp
index fcd2b00ea28805a54646524d831dd90d9784100e..040de2067faf9d0dd9d1de74b2b4f6fe2f6a0086 100644 (file)
@@ -31,9 +31,6 @@ SummarySharedCommand::SummarySharedCommand(){
                format = globaldata->getFormat();
                validCalculator = new ValidCalculators();
                
-               //set users groups
-               setGroups();
-               
                int i;
                for (i=0; i<globaldata->Estimators.size(); i++) {
                        if (validCalculator->isValidCalculator("sharedsummary", globaldata->Estimators[i]) == true) { 
@@ -114,6 +111,9 @@ int SummarySharedCommand::execute(){
                        outputFileHandle << '\t' << sumCalculators[i]->getName();
                }
                outputFileHandle << endl;
+               
+               //set users groups
+               setGroups();
 
                while(order != NULL){