diff --git a/cool_seq_tool/mappers/mane_transcript.py b/cool_seq_tool/mappers/mane_transcript.py index 0516b217..b38582f4 100644 --- a/cool_seq_tool/mappers/mane_transcript.py +++ b/cool_seq_tool/mappers/mane_transcript.py @@ -256,13 +256,8 @@ def _get_mane_p(mane_data: Dict, mane_c_pos_range: Tuple[int, int]) -> Dict: """ start = mane_c_pos_range[0] / 3 end = mane_c_pos_range[1] / 3 - - if start == end: - start = math.floor(start) - end = start - else: - start = math.ceil(start) - end = math.floor(end) + start = math.floor(start) if start == end else math.ceil(start) + end = math.floor(end) return dict( gene=mane_data["symbol"],