X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylosummary.cpp;fp=phylosummary.cpp;h=b645bac794777a1050de116407fa834370e7940e;hb=4f2c7f477a1ef2d60a1c0c84ab1ba8243af67f87;hp=47591f6a8ec577afe99fd21b0ab79b989023ce73;hpb=b36456f889ccf8ef273875f384bc668d0cdee672;p=mothur.git diff --git a/phylosummary.cpp b/phylosummary.cpp index 47591f6..b645bac 100644 --- a/phylosummary.cpp +++ b/phylosummary.cpp @@ -148,7 +148,7 @@ int PhyloSummary::addSeqToTree(string seqName, string seqTaxonomy){ //find out the sequences group string group = groupmap->getGroup(seqName); - if (group == "not found") { m->mothurOut(seqName + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } + if (group == "not found") { m->mothurOut("[WARNING]: " + seqName + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } //do you have a count for this group? map::iterator itGroup = tree[childPointer->second].groupCount.find(group); @@ -183,7 +183,7 @@ int PhyloSummary::addSeqToTree(string seqName, string seqTaxonomy){ //find out the sequences group string group = groupmap->getGroup(seqName); - if (group == "not found") { m->mothurOut(seqName + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } + if (group == "not found") { m->mothurOut("[WARNING]: " + seqName + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } //do you have a count for this group? map::iterator itGroup = tree[index].groupCount.find(group); @@ -254,7 +254,7 @@ int PhyloSummary::addSeqToTree(string seqTaxonomy, vector names){ //find out the sequences group string group = groupmap->getGroup(names[k]); - if (group == "not found") { m->mothurOut(names[k] + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } + if (group == "not found") { m->mothurOut("[WARNING]: " + names[k] + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } else { containsGroup[group] = true; } @@ -296,7 +296,7 @@ int PhyloSummary::addSeqToTree(string seqTaxonomy, vector names){ //find out the sequences group string group = groupmap->getGroup(names[k]); - if (group == "not found") { m->mothurOut(names[k] + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } + if (group == "not found") { m->mothurOut("[WARNING]: " + names[k] + " is not in your groupfile, and will be included in the overall total, but not any group total."); m->mothurOutEndLine(); } else { containsGroup[group] = true; }