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

pirl-unc / tcrsift / 25533157354 / 1
77%
main: 77%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 02:27AM UTC
Files 24
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

08 May 2026 02:26AM UTC coverage: 70.769% (+0.1%) from 70.669%
25533157354.1

push

github

web-flow
Add per-clone donor/method aggregations (#8 chunk 2) (#14)

Second slice of #8. Builds on the donor/method foundation from 0.3.0
(enrichment_method field, patient_id/enrichment_method propagated to
adata.obs). Adds the clonotype-table aggregations the next chunk's
filter knobs will read.

In aggregate_clonotypes, after the existing per-sample block:

  - donors / n_donors        — present when patient_id is set
  - methods / n_methods      — present when enrichment_method is set
  - methods_per_donor        — JSON dict {donor: sorted methods list},
                               present when both are set. Stored as a
                               JSON string for clean h5ad/CSV
                               serialization.
  - max_methods_per_donor    — derived scalar: max methods seen for any
                               single donor. This is the value the
                               planned --min-methods-per-donor filter
                               will threshold against.

All four are emitted only when the relevant sample-sheet fields were
supplied — consistent with the optional-metadata pattern from #5.

Tests cover:
- donors / n_donors populated correctly across donors
- methods / n_methods populated correctly
- methods_per_donor JSON dict has the right per-donor lists, and
  max_methods_per_donor matches the longest list
- columns absent when neither field is set
- methods_per_donor / max_methods_per_donor only appear when both
  patient_id AND enrichment_method are set

Bumps version to 0.4.0 — meaningful new schema on the clonotype table.

Next chunk: --min-methods-per-donor / --min-donors filter knobs that
read these columns.

4111 of 5809 relevant lines covered (70.77%)

0.71 hits per line

Source Files on job python-3.9 - 25533157354.1
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25533157354
  • ddfaa861 on github
  • Prev Job for on main (#25533038812.1)
  • Next Job for on main (#25557799403.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