]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedutilities.cpp
fixing minor bugs
[mothur.git] / sharedutilities.cpp
index 5776b3685c06b6eb7fe8e419c791b3ee6a4ecde6..de627c643c9ff277854a1d8b8ffcb595004d0a85 100644 (file)
@@ -66,7 +66,6 @@ void SharedUtil::getSharedVectorswithReplacement(vector<string> Groups, vector<S
                for (int j = 0; j < lookup.size(); j++) {
                        delete lookup[j];
                }
-               
                lookup.clear();
                
                //create and initialize vector of sharedvectors, one for each group
@@ -111,7 +110,6 @@ void SharedUtil::getSharedVectorswithReplacement(vector<string> Groups, vector<S
 //need to have mode because different commands require different number of valid groups
 void SharedUtil::setGroups(vector<string>& userGroups, vector<string>& allGroups) {
        try {
-//cout << "groups size" << userGroups.size() << endl;
                if (userGroups.size() != 0) {
                        if (userGroups[0] != "all") {
                                //check that groups are valid
@@ -212,6 +210,7 @@ void SharedUtil::setGroups(vector<string>& userGroups, vector<string>& allGroups
        try {
                numGroups = 0;
                label = "";
+
                //if the user has not entered specific groups to analyze then do them all
                if (userGroups.size() != 0) {
                        if (userGroups[0] != "all") {