mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 20:13:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
be7dcc9f0c
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ class Obs:
|
||||||
|
|
||||||
if datatype == "json.gz":
|
if datatype == "json.gz":
|
||||||
from .input.json import dump_to_json
|
from .input.json import dump_to_json
|
||||||
dump_to_json([self], file_name)
|
dump_to_json([self], file_name, **kwargs)
|
||||||
elif datatype == "pickle":
|
elif datatype == "pickle":
|
||||||
with open(file_name + '.p', 'wb') as fb:
|
with open(file_name + '.p', 'wb') as fb:
|
||||||
pickle.dump(self, fb)
|
pickle.dump(self, fb)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue