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

openvax / topiary / 25532875627 / 2
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 08 May 2026 02:25AM UTC
Files 34
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

08 May 2026 02:16AM UTC coverage: 89.593% (+0.06%) from 89.531%
25532875627.2

push

github

web-flow
Plumb mhctools kind_support metadata through topiary predictors (#159)

* Plumb mhctools kind_support metadata through topiary predictors

Expose mhctools 3.13.7's per-(predictor, kind) MHC context metadata
on TopiaryPredictor and CachedPredictor so consumers can branch on
mhc_dependence (none / single_allele / haplotype) and mhc_class
without re-deriving it. The properties live on (predictor, kind), not
on Kind alone — e.g. MHCflurry presentation is single_allele or
haplotype depending on its configured mode.

- TopiaryPredictor.kind_support: {model_key: {kind: meta}}
- TopiaryPredictor.supported_kinds: tuple of unique kinds
- CachedPredictor.kind_support(): inferred from cached kinds; if a
  fallback exposes kind_support, prefer its entries (so haplotype
  semantics survive caching). supported_kinds property mirrors.
- Bump mhctools floor to >=3.13.7 (kind_support API).
- Bump topiary to 5.11.0 (additive minor).

* Add kind_support compatibility + processing-predictor tests

Lock in that TopiaryPredictor's per-(model_key, kind) inner dicts stay
byte-equal to what mhctools' own ``kind_support()`` returns, so consumers
can pass topiary's metadata anywhere mhctools' is accepted without
translation. Also cover the previously-missing ``mhc_dependence='none'``
case for processing predictors and ``proteasome_cleavage`` rows in
CachedPredictor (default and fallback paths).

- TopiaryPredictor: processing predictor (FakeProcessingPredictor) flows
  through with mhc_dependence='none' / mhc_class='none', and
  supported_kinds spans both binding and processing kinds.
- CachedPredictor: proteasome_cleavage rows default to single_allele/I
  (documented conservative behavior with no fallback); a processing
  fallback flows through 'none'/'none' faithfully.
- Compatibility: inner dicts match mhctools.predictor.kind_support()
  for the same model; all values stay within MHC_DEPENDENCE_VALUES /
  MHC_CLASS_VALUES vocabulary constants for both predictor types.

4115 of 4593 relevant lines covered (89.59%)

0.9 hits per line

Source Files on job python-3.10 - 25532875627.2
  • Tree
  • List 34
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25532875627
  • 3a01abf8 on github
  • Prev Job for on master (#25446555074.3)
  • Next Job for on master (#25588999052.1)
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