]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedutilities.cpp
added reverse.seqs command
[mothur.git] / sharedutilities.cpp
index fc1b3350599ebb6db17da3d6f02f977a1f793bb1..5776b3685c06b6eb7fe8e419c791b3ee6a4ecde6 100644 (file)
@@ -111,6 +111,7 @@ 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
@@ -125,7 +126,7 @@ void SharedUtil::setGroups(vector<string>& userGroups, vector<string>& allGroups
                                
                                //if the user only entered invalid groups
                                if (userGroups.size() == 0) { 
-                                       cout << "When using the groups parameter you must have at least 1 valid groups. I will run the command using all the groups in your groupfile." << endl; 
+                                       cout << "You provided no valid groups. I will run the command using all the groups in your groupfile." << endl; 
                                        for (int i = 0; i < allGroups.size(); i++) {
                                                userGroups.push_back(allGroups[i]);
                                        }