Skip to content

fix: write OME channel labels as strings - #1168

Open
stanbot8 wants to merge 1 commit into
scverse:mainfrom
stanbot8:staging/1136-omero-channel-labels
Open

fix: write OME channel labels as strings#1168
stanbot8 wants to merge 1 commit into
scverse:mainfrom
stanbot8:staging/1136-omero-channel-labels

Conversation

@stanbot8

@stanbot8 stanbot8 commented Jul 25, 2026

Copy link
Copy Markdown

OME-NGFF 0.5 requires a string label for each channel. Write OME channel labels as strings. Update both metadata attributes with 1 attribute call. Closes #1136. All tests pass.

@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.45%. Comparing base (eb4fb3d) to head (0257c80).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1168   +/-   ##
=======================================
  Coverage   92.44%   92.45%           
=======================================
  Files          51       51           
  Lines        7820     7828    +8     
=======================================
+ Hits         7229     7237    +8     
  Misses        591      591           
Files with missing lines Coverage Δ
src/spatialdata/_io/_utils.py 86.92% <100.00%> (+0.25%) ⬆️
src/spatialdata/_io/io_raster.py 89.20% <100.00%> (+0.15%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

attributes/ome/omero/channels/label gets incorrectly coerced to integer

1 participant