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

pirl-unc / tcrsift / 25532869609 / 3
77%
main: 77%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 02:18AM UTC
Files 23
Run time 2s
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.569% (+0.02%) from 70.554%
25532869609.3

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 5766 relevant lines covered (70.57%)

0.71 hits per line

Source Files on job python-3.11 - 25532869609.3
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25532869609
  • 8801f424 on github
  • Prev Job for on main (#25532685520.3)
  • Next Job for on main (#25533038812.2)
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