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): ...@@ -105,7 +105,7 @@ class NXProcessWriter(Writer):
config, config,
self.fname, self.fname,
'/'.join([nx_process.name, 'configuration']), '/'.join([nx_process.name, 'configuration']),
overwrite_data=True, update_mode='modify',
mode="a" mode="a"
) )
nx_process['configuration'].attrs['NX_class'] = "NXcollection" nx_process['configuration'].attrs['NX_class'] = "NXcollection"
...@@ -115,7 +115,7 @@ class NXProcessWriter(Writer): ...@@ -115,7 +115,7 @@ class NXProcessWriter(Writer):
result, result,
self.fname, self.fname,
results_path, results_path,
overwrite_data=True, update_mode='modify',
mode="a" mode="a"
) )
else: else:
......
Markdown is supported
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