You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At our beamline, several devices write their own h5 files that are soft-linked in the master file.
When we examine the files in silx view, we have to do multiple clicks to dig down to the actual data. When we do it on multiple data, this monkey business becomes annoying. This screenshot shows that each such file has multiple one-member groups:
I propose to add an option "auto expand singular groups" (or "auto expand simple branches" or similar) that would require only one click at the top level and it would go down to a group that has multiple members in it. There the auto expansion stops.
In the implementation, the class Hdf5TreeView(qt.QTreeView) can react to its expanded signal like this:
def expandFurther(self, index):
"""Further expand a tree node if it has only one child."""
model = self.model()
if model.rowCount(index) == 1:
child = model.index(0, 0, index)
self.expand(child)
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
At our beamline, several devices write their own h5 files that are soft-linked in the master file.
When we examine the files in silx view, we have to do multiple clicks to dig down to the actual data. When we do it on multiple data, this monkey business becomes annoying. This screenshot shows that each such file has multiple one-member groups:
I propose to add an option "auto expand singular groups" (or "auto expand simple branches" or similar) that would require only one click at the top level and it would go down to a group that has multiple members in it. There the auto expansion stops.
In the implementation, the class Hdf5TreeView(qt.QTreeView) can react to its
expanded
signal like this:Thank you!
The text was updated successfully, but these errors were encountered: