Solve not a group bug

This commit is contained in:
Noe Brucy
2022-08-26 16:01:14 +02:00
parent 7025694969
commit 07017611ee
2 changed files with 11 additions and 2 deletions
+2
View File
@@ -489,6 +489,8 @@ class SnapshotProcessor(HDF5Container):
self.open()
if "/maps" not in self.save:
self.save.create_group("/", "maps", "2D maps")
if "/hist" not in self.save:
self.save.create_group("/", "hist", "Histograms")
if "/datasets" not in self.save:
self.save.create_group("/", "datasets", "Complex datasets")
self.save.root.maps._v_attrs.center = center