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

pirl-unc / hitlist / 24914198025 / 1
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 10:14PM UTC
Files 23
Run time 0s
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

24 Apr 2026 10:12PM UTC coverage: 59.093% (+0.2%) from 58.903%
24914198025.1

push

github

web-flow
v1.18.2: Match class-II DP/DQ beta-chain rows to heterodimer samples (#151) (#155)

Issue #151: Abelin 2019 MAPTAC (PMID 31495665) curates class-II DP/DQ
samples as heterodimer strings (HLA-DPB1*06:01/DPA1*01:03,
HLA-DQB1*06:04/DQA1*01:02), but the supplementary CSV reports
per-peptide restrictions as beta-chain only (HLA-DPB1*06:01).  The
vectorized (pmid, mhc_restriction) merge did an exact string match,
so 4,587 DPB1*06:01 + 1,964 DQB1*06:04 = 6,551 class-II rows fell
through to the PMID class pool instead of attaching the mono-allelic
MAPTAC sample context.

- hitlist/export.py:
  - New _expand_heterodimer_components(): splits any /-joined
    allele token into [full_string, beta_component, alpha_component].
    Class-I alleles and already-split strings pass through unchanged.
  - Allele-level join now expands every sample mhc token through this
    helper, so the join's allele pool carries both the heterodimer
    string AND its beta/alpha components — a beta-chain-only obs
    matches the heterodimer sample.
  - The class-allele pool (the fallback used by class-only
    observations) gets the same expansion so either curation style
    produces equivalent pools.

- Tests (7 new in tests/test_export.py):
  - _expand_heterodimer_components unit tests for DP, DQ, class-I
    passthrough, and empty/whitespace input.
  - Beta-chain-only restriction joins a synthetic heterodimer sample
    at allele_match (not the class pool).
  - Alpha-chain-only restriction also matches.
  - Full heterodimer string still matches directly — component
    expansion adds without replacing the original.

Version: 1.18.1 → 1.18.2 (patch).

2424 of 4102 relevant lines covered (59.09%)

0.59 hits per line

Source Files on job 24914198025.1
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24914198025
  • c2c76716 on github
  • Prev Job for on main (#24913437735.1)
  • Next Job for on main (#24921801715.1)
  • Delete
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