From 93686c1361a5d99bc2ec2a467225081b5b216efb Mon Sep 17 00:00:00 2001 From: sebastiankloth Date: Thu, 9 Jun 2022 08:35:49 +0200 Subject: [PATCH] Added allow_pickle in autosave_data --- mdevaluate/autosave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdevaluate/autosave.py b/mdevaluate/autosave.py index 6bb0ccc..6ad70e0 100644 --- a/mdevaluate/autosave.py +++ b/mdevaluate/autosave.py @@ -171,7 +171,7 @@ def autosave_data(nargs, kwargs_keys=None, version=None): filename = get_filename(function, csum, description, *relevant_args) if autoload and (verify_file(filename, csum) or verify_file(filename, legacy_csum)): - result = load_data(filename) + result = load_data(filename, allow_pickle) else: result = function(*args, **kwargs) save_data(filename, csum, result)