Skip to content
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

Make dataset, group, and versionedhdf5file reprs more informative #316

Closed
peytondmurray opened this issue Mar 15, 2024 · 1 comment
Closed
Assignees

Comments

@peytondmurray
Copy link
Collaborator

peytondmurray commented Mar 15, 2024

Currently, versioned-hdf5 uses reprs that pretty closely follow the h5py reprs for the analogous data types. There provide no useful information about the data hierarchy that lives under the object in question:

(Pdb++) pp sv
<InMemoryGroup "/_version_data/versions/r02" (0 members)>

I'd really like Group objects to actually say the name of their keys, and provide some hint about the type of object stored under each key.

This isn't a major problem, but it is annoying to debug because you always have to call pp list(obj) or pp obj.keys() to find out what data is stored in a group or file.

@peytondmurray
Copy link
Collaborator Author

closing for now as completed with #319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant