walk_hierarchical_data

emmet.archival.core.walk_hierarchical_data(hd, key='/')

Walk a hierarchical dataset to find datasets.

Return type:

list[str]

Parameters:
  • hd (Group | Group)

  • key (str)

Parameters

hdh5py.Group or zarr.Group

The hierarchical data object

datasetslist of str

A list of full paths to each dataset

keystr = “/”

The key to access in hd, defaults to root “/”

Returns

None. All dataset keys are stored in dataset_keys