From 08e46c56f5925c3adcc62d43303b2e16991c2291 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 13 Feb 2022 16:12:34 +0000 Subject: [PATCH] fix: Obs.dump can now pass kwargs on to json dump routine --- pyerrors/obs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/obs.py b/pyerrors/obs.py index 681cb270..ecdcd5ef 100644 --- a/pyerrors/obs.py +++ b/pyerrors/obs.py @@ -617,7 +617,7 @@ class Obs: if datatype == "json.gz": from .input.json import dump_to_json - dump_to_json([self], file_name) + dump_to_json([self], file_name, **kwargs) elif datatype == "pickle": with open(file_name + '.p', 'wb') as fb: pickle.dump(self, fb)