X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylotree.cpp;fp=phylotree.cpp;h=4ed3d8c1c02e1c5a1ee93b9dd6143309f5606f5c;hb=01f6af90c907264686304a5c684c702e94ff40ae;hp=a9ef6cb0d85f44bde915606eb452db993ec40d8d;hpb=e0b6040c7b6ad4ecdad4aa90b4326c0528379178;p=mothur.git diff --git a/phylotree.cpp b/phylotree.cpp index a9ef6cb..4ed3d8c 100644 --- a/phylotree.cpp +++ b/phylotree.cpp @@ -619,13 +619,15 @@ bool PhyloTree::ErrorCheck(vector templateFileNames){ map::iterator itFind; map taxonomyFileNames = name2Taxonomy; + if (m->debug) { m->mothurOut("[DEBUG]: in error check. Numseqs in template = " + toString(templateFileNames.size()) + ". Numseqs in taxonomy = " + toString(taxonomyFileNames.size()) + ".\n"); } + for (int i = 0; i < templateFileNames.size(); i++) { itFind = taxonomyFileNames.find(templateFileNames[i]); if (itFind != taxonomyFileNames.end()) { //found it so erase it taxonomyFileNames.erase(itFind); }else { - m->mothurOut(templateFileNames[i] + " is in your template file and is not in your taxonomy file. Please correct."); m->mothurOutEndLine(); + m->mothurOut("'" +templateFileNames[i] + "' is in your template file and is not in your taxonomy file. Please correct."); m->mothurOutEndLine(); okay = false; }