Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
db57a92a
Commit
db57a92a
authored
May 11, 2021
by
Pierre Paleo
Browse files
h5todict: use update_mode='modify' instead of overwrite_data=True
parent
c7ef7864
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/io/writer.py
View file @
db57a92a
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment