Commit 6ab5c4b8 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

avoid h5py mode=None

parent 9c0636ca
......@@ -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