Skip to content

Bring back "zarr" into repr #83

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 Oct 14, 2016 · 6 comments · Fixed by #148
Closed

Bring back "zarr" into repr #83

alimanfoo opened this issue Oct 14, 2016 · 6 comments · Fixed by #148
Labels
enhancement New features or improvements release notes done Automatically applied to PRs which have release notes.
Milestone

Comments

@alimanfoo
Copy link
Member

In a mixed context it's not clear that a zarr array is from zarr, put "zarr" back into array and group reprs somehow.

@alimanfoo alimanfoo modified the milestone: v2.2 Dec 15, 2016
@alimanfoo
Copy link
Member Author

Also suggest removing the compression information (nbytes_stored, number of chunks initialized) as these can take some time to retrieve. Suggest moving these to a method or property, e.g., storage_info or something like that.

@jakirkham
Copy link
Member

Yeah, it would also be nice if repr returned something that was relatively static between runs.

@alimanfoo
Copy link
Member Author

alimanfoo commented Mar 6, 2017 via email

@jakirkham
Copy link
Member

I suppose that would be included too. So using an OrderedDict would help.

Though was more referring to details like the compression information that seem to vary slightly even on the same data. Things like name, shape, dtype, and chunk shape should be fine.

@alimanfoo
Copy link
Member Author

alimanfoo commented Mar 7, 2017 via email

@jakirkham
Copy link
Member

Was also thinking of doctests when thinking about repr. Totally agree with having a different method provide this.

As a side note, the dictionary changes in Python 3.6 are well explained in this message.

@alimanfoo alimanfoo mentioned this issue Apr 6, 2017
@alimanfoo alimanfoo mentioned this issue Apr 26, 2017
@alimanfoo alimanfoo added enhancement New features or improvements release notes done Automatically applied to PRs which have release notes. labels Nov 20, 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