]> git.donarmstrong.com Git - mothur.git/blobdiff - readtree.h
some more mods to shh.seqs
[mothur.git] / readtree.h
index 0cdf8b1fb8b426f6e358143e492a7c6cae64146e..7cfb4b426eef1ca38e562ae1c52b4ad240afc4e3 100644 (file)
@@ -33,6 +33,7 @@ class ReadTree {
        protected:
                GlobalData* globaldata;
                int numNodes, numLeaves;
+               MothurOut* m;
                
                
 };
@@ -42,7 +43,7 @@ class ReadTree {
 class ReadNewickTree : public ReadTree {
        
 public:
-       ReadNewickTree(string file) : treeFile(file) { openInputFile(file, filehandle); readOk = 0; } 
+       ReadNewickTree(string file) : treeFile(file) { m->openInputFile(file, filehandle); readOk = 0; } 
        ~ReadNewickTree() {};
        int read();
        
@@ -50,7 +51,7 @@ private:
        Tree* T;
        int readNewickInt(istream&, int&, Tree*);
        int readTreeString();
-       void nexusTranslation();
+       string nexusTranslation();
        ifstream filehandle;
        string treeFile;
        string holder;