File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/cool_seq_tool/mappers Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1102,7 +1102,7 @@ async def get_mane_transcript(
11021102 c_pos [1 ],
11031103 AnnotationLayer .CDNA ,
11041104 ref = ref ,
1105- gene = g [ " gene" ] ,
1105+ gene = g . gene ,
11061106 coordinate_type = coordinate_type ,
11071107 mane_transcripts = mane_transcripts ,
11081108 )
Original file line number Diff line number Diff line change @@ -926,6 +926,16 @@ async def test_valid(test_mane_transcript):
926926 )
927927 assert resp
928928
929+ # issue-394
930+ resp = await test_mane_transcript .get_mane_transcript (
931+ "ENST00000496384.7" ,
932+ 1799 ,
933+ 1799 ,
934+ AnnotationLayer .CDNA ,
935+ try_longest_compatible = True ,
936+ )
937+ assert resp
938+
929939
930940@pytest .mark .asyncio ()
931941async def test_no_matches (test_mane_transcript ):
You can’t perform that action at this time.
0 commit comments