Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Dec 26, 2023
1 parent 589a6b1 commit 3f6e23f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cool_seq_tool/handlers/seqrepo_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_reference_sequence(
"""
if start and end:
if start > end:
msg = (f"start ({start}) cannot be greater than end ({end})")
msg = f"start ({start}) cannot be greater than end ({end})"
return "", msg

start, end = get_inter_residue_pos(start, end, residue_mode)
Expand Down
8 changes: 5 additions & 3 deletions tests/mappers/test_mane_transcript.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ async def test_p_to_mane_p(test_mane_transcript, braf_v600e_mane_p, egfr_l858r_m
AnnotationLayer.PROTEIN,
gene="DIS3",
ref="P",
try_longest_compatible=True
try_longest_compatible=True,
)
assert mane_p == DataRepresentation(
**{
Expand Down Expand Up @@ -850,7 +850,9 @@ async def test_grch38_to_mane_c_p(

# CA16042245
resp = await test_mane_transcript.grch38_to_mane_c_p(
"NC_000002.12", 74530927, 74530929,
"NC_000002.12",
74530927,
74530929,
)
assert resp == ProteinAndCdnaRepresentation(
protein=DataRepresentation(
Expand All @@ -873,7 +875,7 @@ async def test_grch38_to_mane_c_p(
"strand": "+",
"coding_start_site": 74,
"coding_end_site": 1451,
"gene": "HTRA2",
"gene": "HTRA2",
}
),
)
Expand Down

0 comments on commit 3f6e23f

Please sign in to comment.