h5rdmtoolbox.utils.has_groups

Contents

h5rdmtoolbox.utils.has_groups#

h5rdmtoolbox.utils.has_groups(target)[source]#

Check if file has groups.

Parameters:

target (h5py.Group or pathlib.Path) – HDF5 group or path to HDF5 file.

Returns:

bool – True if target contains at least one group.