-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write to zarr fails when SpatialImage
is created from a xarray.DataArray
#59
Comments
I believe it has to do with the data type (xarray with numpy array might be a problem). Will check! |
In my previous more experimental branch (#48) I was converting everything to |
I believe this is now tested and addressed in #52 |
I checked, the tests that failed are still commented in |
When the
SpatialImage
is created from anp.ndarray
all is good, when is created from axarray.DataArray
an error occurs (see traceback).I have added tests for this. To reproduce uncomment the parts of
_get_images()
and_get_labels()
(fromtests/conftest.py
) that start without['....._xarray'] = .....
.The text was updated successfully, but these errors were encountered: