Skip to content

Commit

Permalink
Merge pull request #198 from GavinHuttley/develop
Browse files Browse the repository at this point in the history
Bug fix for another cds spans edge case
  • Loading branch information
GavinHuttley authored Feb 27, 2025
2 parents 74d8b7a + 153daa8 commit 4398740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ensembl_tui/_mysql_core_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def get_transcript_attr_records(
# so the start_exon coords become (exon_start + rel_start, exon_end)
# the end_exon coords become (exon_start, exon_start + rel_stop)
if lex.single_exon:
cds_spans = cds_spans[start_index : start_index + 1]
cds_spans[0, :] = _adjust_single_exon(lex, cds_spans[0])

yield TranscriptAttrRecord(
Expand Down

0 comments on commit 4398740

Please sign in to comment.