This is a napari plugin that expands the functionality of napari's handling of layer metadata by using the Layer.metadata
dictionary to store some extra metadata attributes.
napari-metadata-demo.mp4
It provides a few contributions.
- A reader to read some metadata from OME-Zarr images.
- A writer to write some metadata to a multiscale OME-Zarr image.
- A widget to control the extra attributes and view some other important read-only attributes.
- Some sample data to demonstrate basic usage.
This plugin is still an experimental work in progress. As such, it is not widely distributed and you should not expect support or future maintenance.
This plugin lacks a public API by design. In particular, you should not rely on any of the extra keys or values in Layer.metadata
in your own software of napari plugins. They are purely implementation details of this plugin.
You can of course feel free to use the plugin or any of its code, but by doing so accept ownership of any issues that arise. If you have ideas or comments about this work, feel free to file an issue.
You can install the latest development version of napari-metadata
via pip:
pip install git+https://github.com/andy-sweet/napari-metadata.git
Alternatively, fork or clone this repository directly.
Since this plugin is an experiment, we performed some initial testing to assess its value. Overall sentiment was positive, though there were some suggestions and points of discussion that could be useful for related and future work.
We also received some feedback on the zulip topic where this plugin was announced, which may be useful to reference.
Since this is still experimental, I don't encourage contributions and likely won't review PRs with much urgency.
Distributed under the terms of the BSD-3 license, "napari-metadata" is free and open source software