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

pirl-unc / hitlist / 27077579152

07 Jun 2026 12:05AM UTC coverage: 80.371% (+0.005%) from 80.366%
27077579152

push

github

web-flow
v1.31.0: hitlist pmhc --cell-type filter (#261 stage 3, closes #261) (#277)

Completes the cell_name split (stages 1-2 shipped the parser + the
build-time cell_type column). Adds a cell_type filter to the pmhc query:

- pmhc_query.query()/query_by_samples() gain a cell_type param (str or
  list, case-insensitive); applied as a row-level filter before the gene
  explode. Threads through query_by_samples -> query.
- CLI: 'hitlist pmhc --cell-type "Melanocyte"' (repeatable for several
  types).
- Clear error when the loaded observations.parquet predates the cell_type
  column (built before v1.30.57): 'Rebuild with hitlist build.'

Also hardens load_observations: the filtered-read path now intersects the
projected columns with the parquet schema (like the no-filter path
already did), so requesting a column absent from an older parquet (e.g.
cell_type) drops it instead of raising pyarrow 'No match for
FieldRef.Name(...)'. This was a latent bug my new column exposed.

Tests: cell_type filter (exact / case-insensitive / list / requires-column
error). Full suite 870 passed.

Opens the 1.31.0 milestone (cell-type query + the #33 curation push).

5065 of 6302 relevant lines covered (80.37%)

0.8 hits per line

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

56.37
/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