Skip to content
Snippets Groups Projects
Commit 917ff5c1 authored by Siddhant Tibrewal's avatar Siddhant Tibrewal
Browse files

adding group's basename to hierarchy

parent 2ba3a998
No related branches found
No related tags found
No related merge requests found
Pipeline #101109 waiting for manual action
......@@ -107,4 +107,4 @@ def add_healpix_hierarchy(
zg = dataset.create_group(name=f"{prefix}{o}")
add_healpix_grid(zg, o)
if o < order:
zg.attrs["hiopy::parent"] = f"{prefix}{o+1}"
zg.attrs["hiopy::parent"] = f"{dataset.basename}/{prefix}{o+1}"
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