Closed takluyver closed 1 year ago
Closing this as not the direction we're going. We added a -d
or --depth
option in #27, giving us at least some way to cope with massive structures of nested groups. In our (EuXFEL) use cases so far, what we have seems to be good enough.
When you do
h5glance foo.h5
, the code in master goes through all the groups in the file recursively, drawing the terminal tree, and then dumps it into a pager. This branch generates the tree as it goes, and pipes it into the pager. On a file with a few thousand objects, this means a nearly instantaneous view rather than waiting ~1 second.However, it also has downsides:
So I'm not sure if I should go ahead with this, or stick to what it does in master.