]> git.donarmstrong.com Git - mothur.git/blobdiff - readtree.cpp
fixed cluster.split command
[mothur.git] / readtree.cpp
index 3062f6677fa8527b4eb59a9ab979458465bfb777..0d25f7e2f4c4e0232cd137b184da0077585edefb 100644 (file)
@@ -230,7 +230,7 @@ int ReadNewickTree::readTreeString() {
 
                        lc = readNewickInt(filehandle, n, T);
                        if (lc == -1) { m->mothurOut("error with lc"); m->mothurOutEndLine(); return -1; } //reports an error in reading
-               
+       
                        if(filehandle.peek()==','){                                                     
                                readSpecialChar(filehandle,',',"comma");
                        }
@@ -291,6 +291,7 @@ int ReadNewickTree::readNewickInt(istream& f, int& n, Tree* T) {
                if(c == '('){
                        int lc = readNewickInt(f, n, T);
                        if (lc == -1) { return -1; } //reports an error in reading
+                       
                        readSpecialChar(f,',',"comma");
 
                        int rc = readNewickInt(f, n, T);