Skip to content

zarr.tree() on h5py File in notebook renders with wrong icon for root node and datasets #262

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

Open
alimanfoo opened this issue May 10, 2018 · 2 comments
Labels
bug Potential issues with the zarr-python library V2 Affects the v2 branch

Comments

@alimanfoo
Copy link
Member

Problem description

zarr.tree() is designed to work with either zarr Group or h5py File. When passed an h5py File the icons rendered in the jupyter notebook are wrong for the root node (should be black folder icon like groups) and for datasets (should be table icon). E.g.:

image

Version and installation information

  • Value of zarr.__version__: 2.2.0
  • Version of Python interpreter: 3.6
@alimanfoo alimanfoo added this to the v2.3 milestone Oct 19, 2018
@alimanfoo alimanfoo added the bug Potential issues with the zarr-python library label Nov 20, 2018
@jakirkham
Copy link
Member

Yeah, this must be some underlying representation of jsTree showing up in the representation. It's strange that it only happens with HDF5 files. Maybe something about how we determine what a Dataset is is not working. Perhaps this issue is simpler than it looks.

@jakirkham jakirkham modified the milestones: v2.3, v2.4 Mar 23, 2019
@Carreau Carreau modified the milestones: v2.4, v2.5 Sep 9, 2020
@alimanfoo alimanfoo modified the milestones: v2.5, v2.6 Sep 24, 2020
@Carreau Carreau mentioned this issue Nov 30, 2020
@Carreau Carreau modified the milestones: v2.6, v2.7 Dec 1, 2020
@jakirkham
Copy link
Member

Is this still an issue with recent releases? Wondering if this is gone after moving to ipytree?

@dstansby dstansby added the V2 Affects the v2 branch label Oct 5, 2024
@dstansby dstansby removed this from the v2.7 milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Potential issues with the zarr-python library V2 Affects the v2 branch
Projects
None yet
Development

No branches or pull requests

4 participants