sidpy.hdf.prov_utils.find_results_groups¶
- sidpy.hdf.prov_utils.find_results_groups(h5_main, tool_name, h5_parent_group=None)[source]¶
Finds a list of all groups containing results of the process of name
tool_name
being applied to the dataset- Parameters:
h5_main (h5 dataset reference) – Reference to the target dataset to which the tool was applied
tool_name (String / unicode) – Name of the tool applied to the target dataset
h5_parent_group (h5py.Group, optional. Default = None) – Parent group under which the results group will be searched for. Use this option when the results groups are contained in different HDF5 file compared to h5_main. BY default, this function will search within the same group that contains h5_main
- Returns:
groups – groups whose name contains the tool name and the dataset name
- Return type:
list of references to
h5py.Group
objects