Skip to content

ENH: chunks=None #106

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

Closed
alimanfoo opened this issue Jan 24, 2017 · 4 comments · Fixed by #183
Closed

ENH: chunks=None #106

alimanfoo opened this issue Jan 24, 2017 · 4 comments · Fixed by #183
Assignees
Labels
enhancement New features or improvements release notes done Automatically applied to PRs which have release notes.
Milestone

Comments

@alimanfoo
Copy link
Member

Add support for chunks=None, which sets chunk shape to array shape?

@alimanfoo alimanfoo added this to the v2.2 milestone Jan 24, 2017
@jakirkham
Copy link
Member

jakirkham commented Jan 24, 2017

Would this make it a change in current behavior as it is already None?

Edit: Would it make sense to have the current behavior go through True instead. ( https://github.com/alimanfoo/zarr/issues/107 )

@alimanfoo
Copy link
Member Author

alimanfoo commented Jan 24, 2017 via email

@jakirkham
Copy link
Member

To be fair, I do think this proposal results in a better default.

Just thinking of the right way to deprecate this. Normally adding a warning about chunks=None would be ok, but it is the default too. So that could get really noisy. Maybe using a decorator that checks for chunks being explicitly set or doing some introspection of the arguments passed in.

@alimanfoo
Copy link
Member Author

alimanfoo commented Jan 25, 2017 via email

@alimanfoo alimanfoo mentioned this issue Apr 6, 2017
@alimanfoo alimanfoo mentioned this issue Nov 14, 2017
@alimanfoo alimanfoo self-assigned this Nov 14, 2017
@alimanfoo alimanfoo added in progress Someone is currently working on this and removed to do labels Nov 14, 2017
@alimanfoo alimanfoo added enhancement New features or improvements release notes done Automatically applied to PRs which have release notes. and removed in progress Someone is currently working on this labels Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or improvements release notes done Automatically applied to PRs which have release notes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants