X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=indicatorcommand.cpp;fp=indicatorcommand.cpp;h=8b9a88cc8116d679d5096be848f7b6a2c29b5215;hb=7aa301dfa67cfcb5b00c6b4e38a7ad56eb8337db;hp=b92c58b54852b35c80ad039720c847b8d35d02bb;hpb=3504e4e2feeb05aabb0c79aa42cb696522030924;p=mothur.git diff --git a/indicatorcommand.cpp b/indicatorcommand.cpp index b92c58b..8b9a88c 100644 --- a/indicatorcommand.cpp +++ b/indicatorcommand.cpp @@ -291,8 +291,8 @@ int IndicatorCommand::execute(){ for (int i = 0; i < m->Treenames.size(); i++) { nameMap.insert(m->Treenames[i]); //sanity check - is this a group that is not in the sharedfile? + if (i == 0) { gps.insert("Group1"); } if (designfile == "") { - if (i == 0) { gps.insert("Group1"); } if (!(m->inUsersGroups(m->Treenames[i], m->getAllGroups()))) { m->mothurOut("[ERROR]: " + m->Treenames[i] + " is not a group in your shared or relabund file."); m->mothurOutEndLine(); mismatch = true;