Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor API for NGFF datasets (#31)
* base class for ngff nodes * fix typo * sketch image container and position node * create new image in position * add docstrings * combine ome-zarr reader and writer * fix docstring length * append channel method * mixin class for file mode methods * handle metadata parsing in node classes * move ome-zarr-py and hypothesis to dev dependency * move hypothesis to dev dependency * match signature * fix constructors * fix metadata writing * fix default chunking * fix context manager * fix channel axis check * fix shape check * update OMEZarr example * rename ngff file * rename imports * showcase `ImageArray.numpy()` * update docstring * remove old writing code and add new well node * update well constructor and docstring * add row node * update docstring * elevate iterator * dummy metadata parsing for the row node * update docstrings * update example introduction * clarify read-only example * fix hcs metadata * add back dump metadata method as placeholder * plate node * fix typo * init plate meta in its own method * update docstring * replace old HCSWriter with a wrapper of plate node * remove reader adaptor * remove OMEZarrReader * update deprecation message * update docstring * rename example files * rearrange metadata attributes * fix plate metadata * fix metadata loading * update hcs example * fix omero metadata * rename test directory * rename test file * change error type * test util functions * fix linting and formatting * test OMEZarr * warning against invalid plate metadata * warn -> warning * warning against channel name not found * test `HCSZarr.open()` * handle missing axes and channel names * load axes from metadata if possible * fix check attribute logic * fix typo * test HCSZarr * return early if position is not found * match error type * restrict example count and loosen deadline * combine pytest commands * fix fixture call * remove unused import * update example comment * fix linting * fix linting * fix linting * Merge branch 'main' into ngff-dataset * Revert "Merge branch 'main' into ngff-dataset" This reverts commit c17b81e. * isort * remove empty files from merging * fix linting * simple refactors and an example that fails * revert wrong example changes * fix linting and formatting * simplify code * revert to conditional operator * use string as array key in examples * rename OMEZarr to OMEZarrFOV * Update docstrings * test append channel * check image shape with test * test create position * test well metadata * updated hcs_zarr example * move open store function to top level * rename open_store to aid auto-completion * wrap zarr.Group.tree() for ngff nodes * remove mixin and container classes * test against new api * update examples * refined examples and delete_channel stub * rename (ome_zarr -> singleFOV_zarr) * proposal for simplified API for tiled acquisition * Revert 3 commits This reverts commits 6d0ba4c, b9516b1, 61237f9. * rename single fov example file * modify example store path and array name * edit HCS example * rename hcs example file --------- Co-authored-by: Shalin Mehta <2934183+mattersoflight@users.noreply.github.com>
- Loading branch information