-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
empty_like for object array raises warning #257
Comments
Thanks Jerome, this looks like just an API inconsistency, I didn't properly consider the |
@alimanfoo FWIW I also see this when running
|
Thanks @hyanwong, very useful to know. I think you can ignore the warning but we should fix this so it doesn't get emitted. |
Yep thanks. Was ignoring it anyway :) |
It would be great to fix this if possible, @alimanfoo ! But I guess you are pretty busy at the moment? |
Contributions welcome :) |
Happy to have a go, but not sure if I should just hack around it (i.e. omit this FutureWarning in this case), or if it's more complex than that. I imagine it's the latter! |
Here's the warning (turned into an error for debugging) that I'm getting with the current Any clues as to where/how to fix this welcome, and I can try to implement it @jakirkham
|
Gives:
Problem description
It seems that
empty_like
is somehow not copying the codec? However, the array seems to behave perfectly well as a object array, so I'm not sure what's happening.Version and installation information
Please provide the following:
zarr.__version__
: 2.2.0numcodecs.__version__
: 0.5.3The text was updated successfully, but these errors were encountered: