]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.h
fixed bug with creation of .tree.sum file
[mothur.git] / groupmap.h
index fd6c14605065ea3fd1f12613d89b6bca9a1e0861..8a1cfff6f660e0042f8a44784e8abff7864c5c2e 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include "mothur.h"
+#include "mothurout.h"
 
 /* This class is a representation of the groupfile.  It is used by all the shared commands to determine what group a 
        certain sequence belongs to. */
@@ -19,7 +20,7 @@ public:
        GroupMap() {};
        GroupMap(string);
        ~GroupMap();
-       void readMap();
+       int readMap();
        int getNumGroups();
        bool isValidGroup(string);  //return true if string is a valid group
        string getGroup(string);
@@ -31,6 +32,7 @@ public:
        int getNumSeqs(string); //return the number of seqs in a given group
                        
 private:
+       MothurOut* m;
        ifstream fileHandle;
        string groupFileName;
        int index;