-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Comments
Would this make it a change in current behavior as it is already Edit: Would it make sense to have the current behavior go through |
I think I want to avoid changing the current behaviour. I haven't thought
this through thoroughly, but I was wondering about setting the default to
chunks=True, which means auto-chunking (which is the current behaviour).
Then if the user explicitly states chunks=None that means chunk shape
equals array shape.
…On Tuesday, January 24, 2017, jakirkham ***@***.***> wrote:
Would this make it a change in current behavior as it is already None?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/alimanfoo/zarr/issues/106#issuecomment-274890875>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAq8Qu_BnNpsjPdkAOhyQDi3Csqx60kiks5rVkHFgaJpZM4Lsdvx>
.
--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health <http://cggh.org>
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email: [email protected]
Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721
|
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 |
FWIW I think it would be OK to just change the default to chunks=True and
include some documentation about the change in the docstrings and release
notes. I don't think anyone will have been explicitly passing chunks=None
before now. The behaviour when no chunks argument is specified by the user
(autochunking) will be unchanged.
…On Tuesday, January 24, 2017, jakirkham ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/alimanfoo/zarr/issues/106#issuecomment-274901798>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAq8QjdRz4b4tXCDJbb5ebfDanMwKFRUks5rVkqigaJpZM4Lsdvx>
.
--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health <http://cggh.org>
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email: [email protected]
Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721
|
Add support for chunks=None, which sets chunk shape to array shape?
The text was updated successfully, but these errors were encountered: