Commit db57a92a authored by Pierre Paleo's avatar Pierre Paleo
Browse files

h5todict: use update_mode='modify' instead of overwrite_data=True

parent c7ef7864
......@@ -105,7 +105,7 @@ class NXProcessWriter(Writer):
config,
self.fname,
'/'.join([nx_process.name, 'configuration']),
overwrite_data=True,
update_mode='modify',
mode="a"
)
nx_process['configuration'].attrs['NX_class'] = "NXcollection"
......@@ -115,7 +115,7 @@ class NXProcessWriter(Writer):
result,
self.fname,
results_path,
overwrite_data=True,
update_mode='modify',
mode="a"
)
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment