Skip to content

Commit

Permalink
Add 'plates' metadata to layers in napari
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Oct 22, 2020
1 parent d76f86a commit 5848f7b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ome_zarr/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,14 @@ def get_lazy_plane(level: int, z: int, c: int, t: int) -> da.core.Array:
node.data = pyramid
# Use the first image's metadata for viewing the whole Plate
node.metadata = image_node.metadata
node.metadata.update({
"metadata": {
"plate": {
"rows": rows,
"columns": cols,
}
}
})


class Reader:
Expand Down

0 comments on commit 5848f7b

Please sign in to comment.