Commit a7873324 authored by Thomas Vincent's avatar 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
......@@ -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
......
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