Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Aug 8, 2023
1 parent 015001a commit f4bf6c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion variation/validators/genomic_insertion.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def get_valid_invalid_results(
if ref:
# gnomAD VCF provides reference, so we should validate this
invalid_ref_msg = self.validate_reference_sequence(
alt_ac, classification.pos0, classification.pos1 + len(ref) - 1, ref
alt_ac, classification.pos0, classification.pos1, ref
)
if invalid_ref_msg:
errors.append(invalid_ref_msg)
Expand Down
1 change: 1 addition & 0 deletions variation/vrs_representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def to_vrs_allele(
state = alt or ""

if alt_type == AltType.SUBSTITUTION:
# This accounts for MNVs
ival_end += len(state) - 1

ival_start -= 1
Expand Down

0 comments on commit f4bf6c2

Please sign in to comment.