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

pirl-unc / tcrsift / 25830380843 / 2
84%
main: 84%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:37PM UTC
Files 25
Run time 1s
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.613% (+0.06%) from 71.552%
25830380843.2

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 6746 relevant lines covered (71.61%)

0.72 hits per line

Source Files on job python-3.11 - 25830380843.2
  • Tree
  • List 25
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25830380843
  • aef2c44e on github
  • Prev Job for on main (#25830014136.1)
  • Next Job for on main (#25832097975.3)
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