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

openvax / topiary / 35035946147-1
94%

Build:
DEFAULT BRANCH: master
Ran 15 Sep 2026 11:35PM 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

15 Sep 2026 11:30PM UTC coverage: 92.569% (+0.06%) from 92.508%
35035946147-1

push

github

web-flow
Hold cache mode to the requested genotype and lengths (#321) (#328)

* Hold cache mode to the requested genotype and lengths (#321)

In cache mode the CLI never passed --mhc-alleles / --mhc-alleles-file to
CachedPredictor, so the cache decided the genotype by itself. Asking for
HLA-A*02:01 against a cache holding only HLA-B*07:02 returned B*07:02
rows, exit 0, no warning. Reproduced before changing anything.

For the use this mode exists for - re-scoring a cohort per patient
genotype from one shared prediction table - that answered every patient
with whatever the table happened to hold, which is the worst shape a
wrong answer can take: quiet, plausible, and per-patient.

An uncovered allele is now refused, naming what was asked and what the
cache holds, matching how a missed peptide already behaves. A covered
subset is filtered to the request, so an unrequested allele never comes
back. Requested alleles go through mhctools' own mhc_alleles_from_args,
so a spelling normalizes here exactly as on the live path - a second
copy of that rule would let HLA-A*02:01 match on one path and miss on
the other.

Rows with no allele are always kept. An allele-free kind
(antigen_processing, the half-lives) is not a prediction about any
allele, so filtering it out alongside the unrequested ones would have
deleted evidence the request never excluded. That case has its own
test, because it is the one way this fix could have introduced a second
silent loss while closing the first.

Two silent-ignore siblings from the same issue:

- --mhc-peptide-lengths against a cache that lacks them answered with
  the lengths it had. It now refuses, naming what the cache holds.
- --mhc-predictor alongside a cache flag ran the cache and ignored the
  predictor, so a command naming mhcflurry got NetMHCpan rows. The
  Cached Predictions argument group already documented these as mutually
  exclusive; that is now enforced rather than claimed.

Eight tests, six of which fail without the fi... (continued)

37 of 37 new or added lines in 3 files covered. (100.0%)

7175 of 7751 relevant lines covered (92.57%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35035946147-1.1 15 Sep 2026 11:35PM UTC 43
92.57
GitHub Action Run
Source Files on build 35035946147-1
  • Tree
  • List 43
  • Changed 6
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35035946...
  • 6655bea9 on github
  • Prev Build on master (#34991018...)
  • Next Build on master (#35039747...)
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