]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.h
fixed bug with displaying info for collect.shared() and summary.shared().
[mothur.git] / groupmap.h
index a3b923cd4da60ce601c58d1553e2a95f6b9f4ab9..a6b6fd7c25158a4ee7195d0f8e0432dfdecd078a 100644 (file)
@@ -26,11 +26,12 @@ public:
        int getNumGroups();
        string getGroup(string);
        vector<string> namesOfGroups;
+       map<string, int> groupIndex;  //groupname, vectorIndex in namesOfGroups. - used by collectdisplays.
                
 private:
        ifstream fileHandle;
        string groupFileName;
-       int numGroups;
+       int numGroups, index;
        map<string, string>::iterator it;
        void setNamesOfGroups(string); 
        map<string, string> groupmap; //sequence name and groupname