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

pirl-unc / tcrsift / 25817061370 / 3
84%
main: 84%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 06:01PM 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:00PM UTC coverage: 70.894% (+0.03%) from 70.867%
25817061370.3

push

github

web-flow
Fix #46: isolate cache in tests + defensive guard in match_clonotypes (#50)

The cmd_run integration tests were picking up the developer's
`~/.cache/tcrsift/` (added in PR #33 as a cache fallback), causing
failures when the cached IEDB v3 export had a format the loader
doesn't parse correctly — `database` ended up without a `cdr3_alpha`
column and `match_clonotypes` raised `KeyError`.

Two changes:

- `tests/conftest.py`: autouse fixture redirects `TCRSIFT_DATA_DIR`
  to an empty tmp path for every test. No more leakage from the
  developer's machine.

- `tcrsift/annotate.py`: defensive guard in `match_clonotypes`. If
  the standardized database is missing the columns we'd be indexing
  into, log a clear warning naming the database and the missing
  columns, then return the dataframe unmodified rather than crashing
  with a confusing `KeyError`.

The underlying IEDB v3 parser bug (hierarchical CSV header vs the
flat TSV the loader expects) is tracked separately in #49.

Bumps to 0.8.9.

Closes #46.

4657 of 6569 relevant lines covered (70.89%)

0.71 hits per line

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