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

pirl-unc / tcrsift / 25709610378

12 May 2026 02:29AM UTC coverage: 70.775% (+0.09%) from 70.69%
25709610378

push

github

web-flow
Add tcrsift data cache + download + auto-fallback (#32) (#33)

* Add tcrsift data download + metadata sidecar (#32 chunks 2+3)

Extends the foundation with automated downloads:

  tcrsift data download                # all supported DBs
  tcrsift data download --db iedb
  tcrsift data download --force        # refresh

Per-DB download support:
  - IEDB: stable URL at iedb.org/downloader.php (zip with tcr_full_v3.csv)
  - VDJdb: dynamic resolution via GitHub releases API for latest release
  - CEDAR: no stable single-file endpoint; --db cedar reports clearly
    and points users at the manual install location

Each downloaded DB gets a _meta.json sidecar recording source_url,
downloaded_at (UTC ISO timestamp), size_bytes, and sha256. Lets users
audit what they're running annotation against.

All HTTP I/O is injectable via `opener=` for hermetic tests. 9 new
tests mock urlopen with in-memory zips covering: successful extraction,
metadata write, skip-when-cached, force-redownload, missing archive
member raises, VDJdb GitHub-API resolution, missing release asset,
CEDAR-has-no-download, and unknown-db error paths.

10 datacache module tests from chunk 1 still pass; 16 + 9 = 25 total
new tests. Coverage on datacache.py is now ~95%.

* Bump version to 0.8.3

4628 of 6539 relevant lines covered (70.78%)

2.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

52.04
/cli.py


Source Not Available

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