Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
remove redundant type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Sep 21, 2023
1 parent 5fb3c0b commit aba8d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intact/intact.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def find_candidate_positions(e, q_start, q_end):
def find_real_correspondence(e):
q_start = coordinates_mapping[e.start]
q_end = coordinates_mapping[e.end - 1 if e.end == len(coordinates_mapping) else e.end]
candidates = list(find_candidate_positions(e, q_start, q_end))
candidates = find_candidate_positions(e, q_start, q_end)
return min(candidates, key=lambda x: x.distance)

def get_indel_impact(alignment):
Expand Down

0 comments on commit aba8d2c

Please sign in to comment.