Closed ziw-liu closed 1 year ago
Thanks for the bug report and code sample.
I tracked this down to a bug that is fixed in #299. Can you pip install
from that branch and give it a test?
If you want to work without that fix (using the released ome-zarr-py) you'll find that you can get the numpy array simply by calling compute twice:
result = data.compute().compute()
Thanks for the prompt investigation and fix! I will test the PR in a bit.
If you want to work without that fix (using the released ome-zarr-py) you'll find that you can get the numpy array simply by calling compute twice:
This is how I put a stop gap in our application and it does work. Ideally the next release will include the proper fix so that can be reverted.
The Dask arrays returned by the reader does not
compute
the underlying chunk type, which should be NumPy arrays. The FOV/image level behaves as normal.This is likely a bug since Dask documentation claims:
To reproduce: