Skip to content

Commit dbe7a22

Browse files
committed
add architecture to all experiments in logfile
1 parent 9789110 commit dbe7a22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hdf5logger.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ def hdf5collector(
557557
while groupname.format(index) in fault_group:
558558
index = index + 1
559559
exp_group = f.create_group(fault_group, groupname.format(index))
560+
exp_group._v_attrs["architecture"] = exp["architecture"]
560561
if exp["index"] != index:
561562
logger.warning(
562563
"The index provided was already used. found new one: {}".format(
@@ -581,6 +582,7 @@ def hdf5collector(
581582
exp_group = f.create_group(
582583
"/", "Goldenrun", "Group containing all information about goldenrun"
583584
)
585+
exp_group._v_attrs["architecture"] = exp["architecture"]
584586
log_goldenrun = False
585587
elif exp["index"] == -3 and log_config:
586588
if "backup" in f.root:

0 commit comments

Comments
 (0)