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

openvax / pyensembl / 24854025201
84%
master: 83%

Build:
Build:
LAST BUILD BRANCH: v2.10.4
DEFAULT BRANCH: master
Ran 23 Apr 2026 07:19PM UTC
Jobs 4
Files 21
Run time 1min
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:14PM UTC coverage: 83.551% (+0.08%) from 83.468%
24854025201

Pull #333

github

iskandr
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.
Pull Request #333: Fix #252: Transcript.coding_sequence handles TAIR fragments missing start/stop codons

5 of 5 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

1346 of 1611 relevant lines covered (83.55%)

3.34 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
88.52
0.11% pyensembl/transcript.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.12 - 24854025201.1 23 Apr 2026 07:19PM UTC 21
83.55
GitHub Action Run
2 python-3.9 - 24854025201.2 23 Apr 2026 07:20PM UTC 21
83.55
GitHub Action Run
3 python-3.10 - 24854025201.3 23 Apr 2026 07:19PM UTC 21
83.55
GitHub Action Run
4 python-3.11 - 24854025201.4 23 Apr 2026 07:19PM UTC 21
83.55
GitHub Action Run
Source Files on build 24854025201
  • Tree
  • List 21
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24854025201
  • Pull Request #333
  • PR Base - main (#24734916651)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc