From aba8d2c9fc7c61fe25ac1d47551fac8044ea799a Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Wed, 20 Sep 2023 18:15:10 -0700 Subject: [PATCH] remove redundant type cast --- intact/intact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intact/intact.py b/intact/intact.py index 50fcfdc..ece17af 100644 --- a/intact/intact.py +++ b/intact/intact.py @@ -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):