X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readtree.cpp;h=0d25f7e2f4c4e0232cd137b184da0077585edefb;hb=86b6cc7ce1ec7fce12cdfdd6225de4dee7cfbdbf;hp=3062f6677fa8527b4eb59a9ab979458465bfb777;hpb=0d714b1c40488d4c2f3a61a5ef861f21522d48b4;p=mothur.git diff --git a/readtree.cpp b/readtree.cpp index 3062f66..0d25f7e 100644 --- a/readtree.cpp +++ b/readtree.cpp @@ -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);