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

pirl-unc / tcrsift / 25830380843
84%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:36PM UTC
Jobs 4
Files 25
Run time 1min
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 10:35PM UTC coverage: 71.623% (+0.06%) from 71.562%
25830380843

push

github

web-flow
Fix #44: make `tcrsift data download --db` repeatable (#61)

Single-value `--db` on `data download` (and `data clear`) silently
dropped all but the last value, so `--db vdjdb --db iedb` downloaded
only `iedb`. Switched to `action="extend", nargs="+"` so both forms
accumulate into a list:

  tcrsift data download --db vdjdb iedb       # space-separated
  tcrsift data download --db vdjdb --db iedb  # repeated flag (original bug)
  tcrsift data download                       # all DBs (unchanged default)

Same fix applied to `data clear --db` for symmetry (the issue's
explicit bonus ask). Handlers dedupe in-order so a repeated name
doesn't trigger a second download / second remove.

`choices=` still applies — unknown names fail argparse validation
rather than silently doing nothing.

Six new parser-layer tests and three handler-layer tests in
`TestDataDownloadParser` / `TestDataDownloadCommand` cover:

- no `--db` → None → handler iterates the URL-having DBs
- space-separated multi-value
- repeated-flag multi-value (the exact bug from #44)
- mixed forms in one invocation
- repeated names deduplicated (in order)
- `data clear` accepts the same forms
- unknown names still rejected

Bumps to 0.8.15. Closes #44.

4831 of 6745 relevant lines covered (71.62%)

2.86 hits per line

Coverage Regressions

Lines Coverage ∆ File
161
52.76
0.63% cli.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.12 - 25830380843.1 13 May 2026 10:36PM UTC 25
71.61
GitHub Action Run
2 python-3.11 - 25830380843.2 13 May 2026 10:36PM UTC 25
71.61
GitHub Action Run
3 python-3.9 - 25830380843.3 13 May 2026 10:36PM UTC 25
71.59
GitHub Action Run
4 python-3.10 - 25830380843.4 13 May 2026 10:36PM UTC 25
71.61
GitHub Action Run
Source Files on build 25830380843
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25830380843
  • aef2c44e on github
  • Prev Build on main (#25830014136)
  • Next Build on main (#25832097975)
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