Skip to content

Conversation

@junelsolis
Copy link
Contributor

This pull request introduces a new optional label attribute to the OmeroChannel dataclass in line with the NGFF 0.4 and 0.5 specifications.

Updates related functions and tests to accommodate this change. The most important changes include modifications to the OmeroChannel class, the from_ngff_zarr function, and the test_omero.py test cases.

The OME-Zarr spec already supports the "label" string of a channel. This feature is useful because it makes it easy to include channel labels while writing multiscales data.

@thewtex thewtex requested a review from Copilot April 7, 2025 19:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

ngff_zarr/from_ngff_zarr.py:168

  • Consider adding a test case to verify that channels missing an explicit 'label' key are correctly assigned the default value of None.
label=channel.get("label", None),

Copy link
Collaborator

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@junelsolis wonderful, thank you for contributing! 🥇

@thewtex thewtex merged commit bac3f33 into fideus-labs:main Apr 7, 2025
18 checks passed
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.

2 participants