Skip to content

Bring back "zarr" into repr #83

Closed

Description

@alimanfoo

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

Activity

  1. modified the milestone: v2.2 on Dec 15, 2016
  2. alimanfoo commented on Jan 16, 2017

    @alimanfoo
    MemberAuthor

    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.

  3. jakirkham commented on Mar 6, 2017

    @jakirkham
    Member

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

  4. alimanfoo commented on Mar 6, 2017

    @alimanfoo
    MemberAuthor
  5. jakirkham commented on Mar 7, 2017

    @jakirkham
    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.

  6. alimanfoo commented on Mar 7, 2017

    @alimanfoo
    MemberAuthor
  7. jakirkham commented on Mar 7, 2017

    @jakirkham
    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.

  8. added
    enhancementNew features or improvements
    release notes doneAutomatically applied to PRs which have release notes.
    on Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features or improvementsrelease notes doneAutomatically applied to PRs which have release notes.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions