-
Notifications
You must be signed in to change notification settings - Fork 142
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
WIP: add tree command #561
Conversation
I wonder if it makes sense to just wrap something like |
Should we try to get this in? It's pretty nice and we might want to use it for the default |
Should we modify this to duplicate the |
That would be a great idea. |
@bjarthur Any chance you have time to work on this PR? |
not really, but i could try to find the time. can you give me an example of the |
Here's what JLD2 does https://github.com/JuliaIO/JLD2.jl/blob/e84b06eb72b850048453df13fdd7f685ce213225/src/groups.jl#L417 |
I took a stab at prototyping an implementation the other day: julia> HDF5.show_tree(hid)
🗃️ HDF5 data file: /mnt/shared/a_file.h5
├─ 🔖 creator
├─ 🔖 description
├─ 📂 R
│ ├─ 🔖 description
│ ├─ 🔖 format
│ ├─ 🔖 shape
│ ├─ 🔢 data
│ ├─ 🔢 indices
│ └─ 🔢 indptr
├─ 🔢 fields
├─ 📂 pixels_left
│ ├─ 🔖 description
│ ├─ 🔢 dec
│ ├─ 🔢 order
│ ├─ 🔢 ra
│ └─ 🔢 type
└─ 📂 pixels_right
├─ 🔖 description
├─ 🔢 nside
├─ 🔢 pixels
└─ 🔢 type I guess icon choices need to be tweaked — on my terminal, the |
|
still a work in progress as i haven't tested all corner cases. please let me know if something doesn't work for you.
for example: