Skip to content

Commit

Permalink
Merge pull request #482 from ksahlin/fix-mcs-r
Browse files Browse the repository at this point in the history
Fix incorrect match start coordinates when adding partial matches
  • Loading branch information
marcelm authored Feb 27, 2025
2 parents e6f4dc2 + 73aee97 commit c805bd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ std::tuple<float, int, std::vector<Nam>> find_nams(
continue;
}
nr_good_hits++;
add_to_matches_map_partial(matches_map[q.is_revcomp], q.start, q.start + index.k(), index, partial_pos);
add_to_matches_map_partial(matches_map[q.is_revcomp], q.partial_start, q.partial_end, index, partial_pos);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/baseline-commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b63002e80213afd97517d47162ba5e51f2bed56e
848c0dde9cfba27ab99abd26932c124f4206747d

0 comments on commit c805bd2

Please sign in to comment.