]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedutilities.cpp
sped up unifrac unweighted.
[mothur.git] / sharedutilities.cpp
index 4339a254efbfd9af51796e5c1d473fffa9ffaefa..6dffee95e1c9a2e17bbda649424d0cb53402e513 100644 (file)
@@ -226,6 +226,7 @@ void SharedUtil::setGroups(vector<string>& userGroups, vector<string>& allGroups
                        }
                        //rip extra - off allgroups 
                        label = label.substr(0, label.length()-1);
+                       if ((mode != "weighted") && (allGroups.size() > 10)) {  label = "merged";  }
                }
                
                if (mode == "weighted") {