• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openvax / pyensembl / 24855488254 / 2
84%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 23 Apr 2026 07:54PM UTC
Files 21
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Apr 2026 07:48PM UTC coverage: 83.642% (+0.1%) from 83.519%
24855488254.2

push

github

web-flow
Fix #252: Transcript.coding_sequence handles TAIR fragments missing start/stop codons (#333)

* Fix #252: Transcript.coding_sequence handles missing codon features

When a protein-coding transcript in the GTF lacks a start_codon or
stop_codon feature (common in Ensembl Plants fragments and incomplete
annotations), Transcript.coding_sequence previously raised ValueError
from _transcript_feature_position_ranges. Transcript.complete
short-circuits safely via contains_start_codon / contains_stop_codon, so
.complete itself was correct — but calling .coding_sequence directly
crashed.

Return None from .coding_sequence when either the start_codon or the
stop_codon feature is absent, matching the existing "missing sequence"
behavior.

Adds a TAIR10 regression fixture (AT1G01010.1, AT1G03325.1, AT1G24475.1)
from Ensembl Plants release 57 covering a complete transcript plus the
two fragment cases. The complete-transcript test also guards the
original #252 scenario — before #268 stripped the ".N" isoform suffix
only for ENSEMBL IDs, this case would have returned False.

* Address review: extend None-return to UTR accessors

Transcript.five_prime_utr_sequence and Transcript.three_prime_utr_sequence
shared the ValueError crash with coding_sequence when the transcript
lacked a start_codon or stop_codon feature (same root cause — direct
calls to first_start_codon_spliced_offset / last_stop_codon_spliced_offset
fall through to _transcript_feature_position_ranges with required=True).
Return None from each accessor when the relevant codon feature is absent.

Extend the TAIR10 fixture with AT1G42615.1 (neither start_codon nor
stop_codon) and add assertions covering the 5'/3' UTR accessors on all
four fragment configurations, plus a UTR+CDS round-trip on the complete
transcript.

* Bump version to 2.6.9

1355 of 1620 relevant lines covered (83.64%)

0.84 hits per line

Source Files on job python-3.9 - 24855488254.2
  • Tree
  • List 21
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24855488254
  • 6ab9b24e on github
  • Prev Job for on v2.6.9 (#24855102926.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc