Skip to content
Snippets Groups Projects
Commit c91221f4 authored by Sarah Jane Grimm's avatar Sarah Jane Grimm
Browse files

smilei: ignore latest_IDs dataset

parent 3eb08c60
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,9 @@ def _generateh5indexfile(indexfile, fnames):
indexfile = os.path.join(dirname, indexfile)
def visitf(key):
# key is a string
# key is a strings
if key.endswith('latest_IDs'):
return
# only link if key points to a dataset. Do not link groups
if isinstance(hf[key], h5py._hl.dataset.Dataset):
ih[key] = h5py.ExternalLink(fname, key)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment