]> git.donarmstrong.com Git - mothur.git/blobdiff - phylotree.cpp
fixes while testing
[mothur.git] / phylotree.cpp
index 1c2deba8a303edd692470dd1deb8c4e60062ac15..53492cafe6f17fbc2b167c8393dda6c24c72ea55 100644 (file)
@@ -598,7 +598,7 @@ bool PhyloTree::ErrorCheck(vector<string> 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();