]> git.donarmstrong.com Git - mothur.git/blobdiff - collectdisplay.h
changes while testing
[mothur.git] / collectdisplay.h
index f7c8a4888f68949fe5a5a6c8b38dcc0ad375992d..781cea1824dc77cb445819c94aed3173786baa94 100644 (file)
@@ -31,9 +31,10 @@ public:
                //because we randomizes the order we need to put the results in the correct column in the output file
                int group1Index, group2Index, pos;
                
-               for (int i = 0; i < m->Groups.size(); i++) {
-                       if (shared[0]->getGroup() == m->Groups[i]) { group1Index = i; }
-                       if (shared[1]->getGroup() == m->Groups[i]) { group2Index = i; }
+               vector<string> mGroups = m->getGroups();
+               for (int i = 0; i < mGroups.size(); i++) {
+                       if (shared[0]->getGroup() == mGroups[i]) { group1Index = i; }
+                       if (shared[1]->getGroup() == mGroups[i]) { group2Index = i; }
                }
                
                numGroupComb = 0;