]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupscommand.cpp
fixed clearcut version bug, added group count output to get.groups and remove.groups
[mothur.git] / getgroupscommand.cpp
index ac76d7397a004634e2b3d9a2c879e20ea7e95f2c..7d81aaa8848749a9bf53e3e2663791e3798b419c 100644 (file)
@@ -250,9 +250,11 @@ int GetGroupsCommand::execute(){
                if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) {        remove(outputNames[i].c_str()); } return 0; }
                
                m->mothurOut("Selected " + toString(names.size()) + " sequences. From the groups: "); m->mothurOutEndLine();
-               for (int i = 0; i < Groups.size(); i++) {       m->mothurOut(Groups[i]); m->mothurOutEndLine(); }
+               for (int i = 0; i < Groups.size(); i++) {       m->mothurOut(Groups[i]); m->mothurOut(" contains " + toString(groupMap->getNumSeqs(Groups[i]))); m->mothurOutEndLine(); }
                m->mothurOutEndLine();
                
+               
+               
                if (outputNames.size() != 0) {
                        m->mothurOutEndLine();
                        m->mothurOut("Output File names: "); m->mothurOutEndLine();