Skip to content

Commit 20706e1

Browse files
committed
Improve error messages when msa and tree are inconsistant
1 parent f0cb9fd commit 20706e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/msa.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ bool msa_t::constiency_check(std::unordered_set<std::string> labels) const {
671671
// labels subset taxa
672672
for (const std::string &k : labels) {
673673
if (taxa.find(k) == taxa.end()) {
674-
debug_print(EMIT_LEVEL_DEBUG, "Taxa %s in msa is not present on the tree",
674+
debug_print(EMIT_LEVEL_ERROR, "Taxa %s in msa is not present on the tree",
675675
k.c_str());
676676
ret = false;
677677
}
@@ -680,7 +680,7 @@ bool msa_t::constiency_check(std::unordered_set<std::string> labels) const {
680680
// taxa subset labels
681681
for (const std::string &k : taxa) {
682682
if (labels.find(k) == labels.end()) {
683-
debug_print(EMIT_LEVEL_DEBUG, "Taxa %s on tree is not present in the msa",
683+
debug_print(EMIT_LEVEL_ERROR, "Taxa %s on tree is not present in the msa",
684684
k.c_str());
685685
ret = false;
686686
}

0 commit comments

Comments
 (0)