Skip to content

Commit

Permalink
Fix shuffle direction / dup->ins combination
Browse files Browse the repository at this point in the history
  • Loading branch information
b0d0nne11 committed Feb 6, 2024
1 parent 0157203 commit 6a23ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hgvs/assemblymapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def _far_shift(self, var_g, shuffle_direction):
shifted_var_g = normalizer.normalize(var_g)
if shifted_var_g.posedit.edit.type == 'dup':
self._replace_reference(shifted_var_g)
if shuffle_direction == 3:
if shuffle_direction != 3:
shifted_var_g.posedit = PosEdit(
pos=Interval(
start=SimplePosition(base=shifted_var_g.posedit.pos.start.base-1),
Expand Down

0 comments on commit 6a23ddd

Please sign in to comment.