Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
kmap
xsocs
Commits
6ab5c4b8
Commit
6ab5c4b8
authored
Jan 23, 2020
by
Thomas Vincent
Browse files
avoid h5py mode=None
parent
9c0636ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsocs/process/fit/peak_fit.py
View file @
6ab5c4b8
...
...
@@ -153,7 +153,7 @@ class FitResult(object):
FitTypes
.
GAUSSIAN
:
'gauss_0'
,
FitTypes
.
CENTROID
:
'centroid'
}
def
to_fit_h5
(
self
,
fit_h5
,
mode
=
None
):
def
to_fit_h5
(
self
,
fit_h5
,
mode
=
'a'
):
"""Write fit results to an HDF5 file
:param str fit_h5: Filename where to save fit results
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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