Skip to content

Commit

Permalink
be quiet inversion patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ekg committed Jun 27, 2024
1 parent eb8099a commit 5e8be98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/wflign/src/wflign_patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ void do_wfa_patch_alignment(
if (rev_aln.ok && rev_score < fwd_score) {
rev_aln.ok = true;
aln.ok = false;
#ifdef WFLIGN_DEBUG
std::cerr << "got better score with reverse complement alignment" << std::endl
<< " query_length " << query_length
<< " target_length " << target_length
Expand All @@ -308,6 +309,7 @@ void do_wfa_patch_alignment(
<< "query " << std::string(query + j, query_length)
<< " target " << std::string(target + i, target_length)
<< std::endl;
#endif
} else {
rev_aln.ok = false;
}
Expand Down

0 comments on commit 5e8be98

Please sign in to comment.