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

openvax / topiary / 34516636416-1
94%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2026 06:54PM UTC
Jobs 1
Files 43
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

10 Sep 2026 06:48PM UTC coverage: 91.963% (+0.04%) from 91.924%
34516636416-1

push

github

web-flow
Rebind cached protein scans to the occurrence they were asked about (#296) (#299)

CachedPredictor.predict_proteins_dataframe answers "where does this
peptide sit in the sequence I just handed you", from cache rows built
somewhere else. It rewrote source_sequence_name to the requested protein
but left the coordinate and the flanking residues describing the protein
the cache came from, so each row named one occurrence and located it in
another.

The coordinate then collided. The scan emitted the cached peptide_offset
alongside mhctools' offset, and _normalize_prediction_frame renames the
second onto the first, so the result carried two columns named
peptide_offset. frame["peptide_offset"] became a DataFrame and consumers
failed with "'DataFrame' object has no attribute 'dtype'", far from the
cause. The scan now emits one coordinate, offset, and PROTEIN_SCAN_COLUMNS
names that shape; the empty-result path used it too and had been emitting
a duplicate source_sequence_name.

Flanks are the same mistake one column over with the opposite fix. They
are a prediction input, in PREDICTION_KEY_COLUMNS because mhcflurry
scores a peptide differently in different contexts, so they cannot be
rewritten to fit a new occurrence. A flanked row now applies only where
the scanned sequence really supplies that context, matching a stored
flank against the tail or head of the real neighbours since predictors
store a bounded number of residues. A row with no flank context is
context-independent and still applies anywhere. An occurrence left
uncovered raises, naming the peptide, source, offset and stored context,
rather than returning a score computed for different neighbours; the
fallback API takes peptides and so cannot repair a context miss.

predict_from_named_peptides reset only mhctools' spelling, so a cache row
reported a whole supplied peptide as sitting partway through itself. Both
spellings now reset to zero. Normalizing a frame that states the
coordinate twice repor... (continued)

40 of 43 new or added lines in 3 files covered. (93.02%)

7037 of 7652 relevant lines covered (91.96%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
90.51
0.63% topiary/cached.py
Jobs
ID Job ID Ran Files Coverage
1 34516636416-1.1 10 Sep 2026 06:54PM UTC 43
91.96
GitHub Action Run
Source Files on build 34516636416-1
  • Tree
  • List 43
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34516636...
  • 2c9f867a on github
  • Prev Build on master (#34433470...)
  • Next Build on master (#34519514...)
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