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

pirl-unc / tcrsift / 25533157354
71%

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

08 May 2026 02:26AM UTC coverage: 70.809% (+0.1%) from 70.708%
25533157354

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.

4114 of 5810 relevant lines covered (70.81%)

2.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
94.85
0.59% clonotype.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.9 - 25533157354.1 08 May 2026 02:27AM UTC 24
70.77
GitHub Action Run
2 python-3.12 - 25533157354.2 08 May 2026 02:27AM UTC 24
70.8
GitHub Action Run
3 python-3.10 - 25533157354.3 08 May 2026 02:27AM UTC 24
70.8
GitHub Action Run
4 python-3.11 - 25533157354.4 08 May 2026 02:27AM UTC 24
70.8
GitHub Action Run
Source Files on build 25533157354
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25533157354
  • ddfaa861 on github
  • Prev Build on main (#25533038812)
  • Next Build on main (#25557799403)
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