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

pirl-unc / hitlist / 25029707008

28 Apr 2026 01:57AM UTC coverage: 61.383% (+0.03%) from 61.354%
25029707008

push

github

web-flow
v1.24.2: List-style CLI args accept space-separated values (#136 follow-up) (#166)

Pre-fix the list-style CLI flags (--mhc-allele, --gene, --gene-name,
--serotype, --cell-line, --assay-method, etc.) only accepted repeated
flags ("--gene NRAS --gene KRAS") and silently failed on the documented
comma form ("--gene NRAS,KRAS" left "NRAS,KRAS" as a single token that
matched nothing).  Now all three input shapes flatten to the same list:

    --gene NRAS --gene KRAS         repeated
    --gene NRAS KRAS                space-separated
    --gene NRAS,KRAS                comma-separated
    --gene NRAS,KRAS HRAS           mixed

Mechanism:
- argparse: action="append" → action="extend", nargs="+" everywhere
- _to_list flattens commas inside list elements (and strips empties)
- help-text wording updated globally to "Space-separated, comma-separated,
  or repeated"

Tests:
- _to_list covers all three shapes + mixed + empty/whitespace edge cases
- argparse parser test confirms the three shapes produce identical Namespaces

2645 of 4309 relevant lines covered (61.38%)

0.61 hits per line

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

17.11
/cli.py


Source Not Available

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