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

openvax / pyensembl / 25816358406
85%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 May 2026 05:51PM UTC
Jobs 4
Files 22
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

13 May 2026 05:46PM UTC coverage: 85.426% (+0.5%) from 84.971%
25816358406

Pull #355

github

iskandr
Address PR #355 review: drop pickle schema bump, surface fasta_version

* Reverted FASTA_PICKLE_SCHEMA_VERSION + the .v2.pickle filename suffix.
  v1 (bare-keyed) pickles load cleanly under the new code path - the
  rebuilt _stripped_index stays empty, but lookups still resolve via
  the version-stripped retry path so Ensembl-style callers see no
  regression. New test test_old_bare_keyed_pickle_still_loads_under_new_code
  pins this.

* Added Transcript.fasta_version - returns the int version that the
  cDNA FASTA header carried for this transcript, or None when the
  genome has no transcript FASTA / the header was bare.

* Added Protein.fasta_version - same shape but for the protein FASTA.
  Protein now carries an optional genome= reference so the view object
  can consult genome.protein_sequences.fasta_version(). Default is
  None for back-compat with callers constructing Protein outside of
  Transcript.

* Opted out of gtfparse 2.7.0's cast_version_columns=True in
  database.py's read_gtf call. When the *_version columns are missing
  on some rows (e.g. start_codon rows don't carry transcript_version),
  pandas' nullable Int64 routes through float on the sqlite write path
  and the value lands as '7.0' text, which broke pyensembl's
  int(result[0]) parse. Keeping strings and doing the int conversion
  on the property side as before.

* New tests for both fasta_version accessors, including a "GTF claims
  version 5, FASTA claims version 3" disagreement case so downstream
  tools can detect mismatched GTF/FASTA pairs.
Pull Request #355: Preserve FASTA-header versions in SequenceData (closes #351)

60 of 61 new or added lines in 5 files covered. (98.36%)

1653 of 1935 relevant lines covered (85.43%)

3.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.78
5.88% pyensembl/sequence_data.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 25816358406.1 13 May 2026 05:51PM UTC 22
85.43
GitHub Action Run
2 python-3.10 - 25816358406.2 13 May 2026 05:52PM UTC 22
85.43
GitHub Action Run
3 python-3.12 - 25816358406.3 13 May 2026 05:51PM UTC 22
85.43
GitHub Action Run
4 python-3.9 - 25816358406.4 13 May 2026 05:52PM UTC 22
85.43
GitHub Action Run
Source Files on build 25816358406
  • Tree
  • List 22
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25816358406
  • Pull Request #355
  • PR Base - main (#25810734911)
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