Open ianhi opened 2 years ago
Thanks @ianhi, this is very nice! I will say that (a) try/except is actually quite expensive in Python, so best to avoid it for something interactive like painting, but (b) I actually added fancy indexing to zarr arrays by default recently and this will be in release 2.11, so I'm just waiting for that to happen then we'll drop the tensorstore dependency. 😊
I actually added fancy indexing to zarr arrays by default recently and this will be in release 2.11, so I'm just waiting for that to happen then we'll drop the tensorstore dependency. blush
Amazing!
Wanted to share this here as it may be useful and was inspired by your PR (https://github.com/napari/napari/pull/3155)
I found that a user of napari can get a
zarr.Array
to work in a labels layer by wrapping it like so: