]> git.donarmstrong.com Git - mothur.git/blobdiff - phylosummary.cpp
added name parameter to phylotype command
[mothur.git] / phylosummary.cpp
index 1e8d1bc6c6b2497b85838aeebd4c31c30104a70d..a5f67c082945a9955feb2897e16b242d60533ffa 100644 (file)
@@ -126,8 +126,8 @@ int PhyloSummary::addSeqToTree(string seqName, string seqTaxonomy){
                                tree[currentNode].total++;
 
                                currentNode = childPointer->second;
-                       }else{                                                                                  //otherwise, create it
-                               m->mothurOut("Error: cannot find taxonomy in tree for " + seqName + "."); m->mothurOutEndLine();
+                       }else{  //otherwise, error
+                               m->mothurOut("Warning: cannot find taxon " + taxon + " in reference taxonomy tree at level " + toString(tree[currentNode].level) + " for " + seqName + ". This may cause totals of daughter levels not to add up in summary file."); m->mothurOutEndLine();
                                seqTaxonomy = "";
                        }