X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylosummary.cpp;h=2f565150aabeec35cc8a3c03a459d8b85090550b;hb=f67ace597e7147f3ca35201e3623abe6440a9d24;hp=22e8e75ce7047e00b135483f16b566eb506a71fb;hpb=74dc92cf53df65fd8b14d8eaf35489bbecbccac6;p=mothur.git diff --git a/phylosummary.cpp b/phylosummary.cpp index 22e8e75..2f56515 100644 --- a/phylosummary.cpp +++ b/phylosummary.cpp @@ -25,7 +25,7 @@ PhyloSummary::PhyloSummary(string refTfile, string groupFile){ } //check for necessary files - string taxFileNameTest = refTfile.substr(0,refTfile.find_last_of(".")+1) + "tree.sum"; + string taxFileNameTest = m->getFullPathName((refTfile.substr(0,refTfile.find_last_of(".")+1) + "tree.sum")); ifstream FileTest(taxFileNameTest.c_str()); if (!FileTest) { @@ -121,6 +121,7 @@ string PhyloSummary::getNextTaxon(string& heirarchy){ int PhyloSummary::addSeqToTree(string seqName, string seqTaxonomy){ try { + numSeqs++; map::iterator childPointer;