Skip to content

Clean up nImage with a LayerMetadata manager module - #69

Merged
TimMonko merged 2 commits into
ndev-kit:mainfrom
TimMonko:enh/layer-metadata
Aug 5, 2026
Merged

Clean up nImage with a LayerMetadata manager module#69
TimMonko merged 2 commits into
ndev-kit:mainfrom
TimMonko:enh/layer-metadata

Conversation

@TimMonko

@TimMonko TimMonko commented Aug 5, 2026

Copy link
Copy Markdown
Member

Description

The access pattern for layer metadata was quite repeated, so this cleans that up into a single translator module. The translator is the only place that knows about OME-Zarr spec-version quirks and fallbacks, and the nImage.layer_* properties are thin delegations that call it directly.

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TimMonko
TimMonko merged commit 8b97128 into ndev-kit:main Aug 5, 2026
12 checks passed
TimMonko added a commit that referenced this pull request Aug 5, 2026
# References and relevant issues

Built on #69 

# Description

Invalidates the cache by overriding the `set_scene` method to centralize
that and not just do it in the scene widget.
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