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
a7873324
Commit
a7873324
authored
Jan 23, 2020
by
Thomas Vincent
Browse files
Merge branch 'fix-h5py-mode' into 'master'
Fix h5py.File mode not defined See merge request
!123
parents
9c0636ca
6ab5c4b8
Pipeline
#22195
passed with stages
in 13 minutes and 37 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
xsocs/process/fit/peak_fit.py
View file @
a7873324
...
...
@@ -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