]> git.donarmstrong.com Git - mothur.git/blobdiff - indicatorcommand.cpp
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / indicatorcommand.cpp
index b92c58b54852b35c80ad039720c847b8d35d02bb..8b9a88cc8116d679d5096be848f7b6a2c29b5215 100644 (file)
@@ -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;