Skip to content

Get rid of LabelImage, add image_label field directly to Image#19

Open
tlambert03 wants to merge 4 commits intomainfrom
merge-labels
Open

Get rid of LabelImage, add image_label field directly to Image#19
tlambert03 wants to merge 4 commits intomainfrom
merge-labels

Conversation

@tlambert03
Copy link
Member

the LabelImage class is confusing. (it's the zarr.json you might find inside of a labels/ group that contains the annotation multiscales data.

LabelImage IS just an Image with an additional field... so the whole thing can be expressed (with less cognitive overload i think) as just adding an optional field to Image. This does that, and gets rid of the additional top level class.

@codecov
Copy link

codecov bot commented Dec 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.81%. Comparing base (50bfac5) to head (25ace1f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   97.59%   97.81%   +0.21%     
==========================================
  Files          28       28              
  Lines        1413     1417       +4     
==========================================
+ Hits         1379     1386       +7     
+ Misses         34       31       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

1 participant