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

pirl-unc / tcrsift / 25817469984 / 4
84%
main: 84%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 06:09PM UTC
Files 25
Run time 2s
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 06:07PM UTC coverage: 70.987% (+0.09%) from 70.894%
25817469984.4

push

github

web-flow
Fix #49: parse IEDB v3 hierarchical-header CSV in load_iedb (#51)

The IEDB receptor_full_v3.zip export tcrsift downloads ships as a CSV
with a two-row header — top row is the section ("Receptor", "Epitope",
"Assay", "Chain 1", "Chain 2"), second row is the field. The previous
loader used sep="\t" and looked for flat headers like "Chain 2 CDR3
Curated", silently producing a dataframe without cdr3_alpha/cdr3_beta
when handed the real cached file. That was the root cause of the
KeyError #46 papered over with a defensive guard.

Now:

- Sniff the first line: if it starts "Receptor,Receptor" treat as the
  v3 hierarchical CSV; otherwise fall back to the legacy flat TSV
  parser for backward compatibility.
- v3 path filters to Receptor Type == alphabeta, then extracts
  cdr3_alpha from Chain 1 and cdr3_beta from Chain 2, preferring
  "CDR3 Curated" over "CDR3 Calculated" per chain.
- Drops rows with no CDR3 on either chain (unmatchable).

Verified end-to-end against the cached tcr_full_v3.csv (99MB,
225,664 alphabeta rows extracted, 64K with alpha, 195K with beta).

Bumps to 0.8.10.

Closes #49.

4683 of 6597 relevant lines covered (70.99%)

0.71 hits per line

Source Files on job python-3.11 - 25817469984.4
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25817469984
  • 34944869 on github
  • Prev Job for on main (#25817061370.1)
  • Next Job for on main (#25818564171.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