-
-
Notifications
You must be signed in to change notification settings - Fork 329
Group.create_dataset does not match 2.x API #2631
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
Comments
oops, looks like we need to add a step in |
* Add failing test for #2631 * Fix create_dataset with data argument
I don't believe this is fully fixed. I ran a test build of
and indeed the old signature does not require |
Interesting, for some reason, I thought that it did require shape in the old signature, even though it made no sense. (We've had that discussion a few times in the repo.) But indeed I just tested it in a new env and it works fine. 🤔 @QuLogic Do you think you'd have time to make a PR to fix that case also? |
Zarr version
3.0.0rc2.dev1+gc070940e
Numcodecs version
0.14.1
Python Version
3.11.11
Operating System
macOS 15.1.1
Installation
editable install from main into a conda env
Description
#2463 broke the signature of
Group.create_dataset
, because you can no longer pass a data kwarg to the function. This effectively defeats the purpose of the deprecated function.Steps to reproduce
On 7907852 (right before #2463), this outputs:
On main (c070940), this crashes with the following traceback:
Additional output
No response
The text was updated successfully, but these errors were encountered: