Skip to content

Commit

Permalink
Merge pull request #2780 from vgteam/minor-bugfix-mpmap
Browse files Browse the repository at this point in the history
Fix a minor bug in mpmap
  • Loading branch information
jeizenga authored May 10, 2020
2 parents b5cca2d + 1ec80f1 commit 76a19e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multipath_alignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ namespace vg {
// do we need to merge the abutting edits?
int64_t edit_idx = 0;
if (final_mapping->edit_size() && first_mapping.edit_size()) {
Edit* final_edit = final_mapping->mutable_edit(0);
Edit* final_edit = final_mapping->mutable_edit(final_mapping->edit_size() - 1);
const Edit& first_edit = first_mapping.edit(0);
if ((first_edit.from_length() > 0) == (final_edit->from_length() > 0) &&
(first_edit.to_length() > 0) == (final_edit->to_length() > 0) &&
Expand Down

1 comment on commit 76a19e6

@adamnovak
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for merge to master. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 13868 seconds

Tests produced 822 warnings. 822 were for lower-than-expected alignment scores

Please sign in to comment.