X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupscommand.cpp;h=7d81aaa8848749a9bf53e3e2663791e3798b419c;hb=d0954e27635712cdbd8b86e3c4510670803a2665;hp=ac76d7397a004634e2b3d9a2c879e20ea7e95f2c;hpb=48335c6b6ecee614c30d22751c2880953c20e2f4;p=mothur.git diff --git a/getgroupscommand.cpp b/getgroupscommand.cpp index ac76d73..7d81aaa 100644 --- a/getgroupscommand.cpp +++ b/getgroupscommand.cpp @@ -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();