Skip to content

Commit 62d01fb

Browse files
committed
Small MMSA fix
1 parent 83c5fe3 commit 62d01fb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mzalign/src/multi_alignment/calculate.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ impl<Sequence, const STEPS: u16> MultiAlignmentLineTemp<'_, Sequence, STEPS> {
9696
self.path[path_index].aligned_length =
9797
total_aligned_length + aligned_step - sequence_step;
9898
self.path[path_index].sequence_length = total_sequence_length;
99-
self.path[path_index].match_type = piece.match_type;
99+
if self.path[path_index].match_type != MatchType::Gap {
100+
self.path[path_index].match_type = piece.match_type;
101+
}
100102
for _ in 0..take - 1 {
101103
self.path.remove(path_index + 1);
102104
}

0 commit comments

Comments
 (0)