X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylotree.cpp;h=53492cafe6f17fbc2b167c8393dda6c24c72ea55;hb=a6c4005cb8b45030d6621404d6082723b3b98003;hp=1c2deba8a303edd692470dd1deb8c4e60062ac15;hpb=7a8fc1115b3871107c09a4b9b307b1f2ab7d3fcf;p=mothur.git diff --git a/phylotree.cpp b/phylotree.cpp index 1c2deba..53492ca 100644 --- a/phylotree.cpp +++ b/phylotree.cpp @@ -598,7 +598,7 @@ bool PhyloTree::ErrorCheck(vector templateFileNames){ for (int i = 0; i < templateFileNames.size(); i++) { itFind = taxonomyFileNames.find(templateFileNames[i]); - if (itFind != name2Taxonomy.end()) { //found it so erase it + 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();