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

pirl-unc / tcrsift / 25532869609
72%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 02:17AM UTC
Jobs 4
Files 23
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:16AM UTC coverage: 70.581% (+0.02%) from 70.566%
25532869609

push

github

web-flow
Cast CDR3 columns to object before fillna in aggregate_clonotypes (#12)

Closes #11. When the AnnData has been round-tripped through h5ad — or
even kept in memory after anndata's auto-categoricalization runs on
obs — `CDR3_alpha` and `CDR3_beta` come back as Categorical. The
existing `.fillna("")` then raises:

  TypeError: Cannot setitem on a Categorical with a new category (),
  set the categories first

because "" isn't in the existing categories. Cast each column to
object first; the post-cast fillna works regardless of how anndata
serialized the dtype.

Same shape as the recurring h5ad-roundtrip class of bugs (#3 / #5 /
#7). The reporter suggests a defensive rehydrate helper to prevent
the next instance — that's tracked as a follow-up improvement.

Adds three regression tests:
- both CDR3 columns Categorical (no NaN)
- alpha Categorical with NaN — exact failure mode from #11
- CDR3b_only mode with Categorical beta (covers clonotype.py:148)

Bumps version to 0.3.1.

4069 of 5765 relevant lines covered (70.58%)

2.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
94.29
0.1% clonotype.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.9 - 25532869609.1 08 May 2026 02:17AM UTC 23
70.54
GitHub Action Run
2 python-3.12 - 25532869609.2 08 May 2026 02:17AM UTC 23
70.57
GitHub Action Run
3 python-3.11 - 25532869609.3 08 May 2026 02:17AM UTC 23
70.57
GitHub Action Run
4 python-3.10 - 25532869609.4 08 May 2026 02:17AM UTC 23
70.57
GitHub Action Run
Source Files on build 25532869609
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25532869609
  • 8801f424 on github
  • Prev Build on main (#25532685520)
  • Next Build on main (#25533038812)
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