diff --git a/mdevaluate/autosave.py b/mdevaluate/autosave.py index aa57255..6bb0ccc 100644 --- a/mdevaluate/autosave.py +++ b/mdevaluate/autosave.py @@ -104,7 +104,7 @@ def verify_file(filename, checksum): """Verify if the file matches the function call.""" file_checksum = 0 if os.path.exists(filename): - data = np.load(filename) + data = np.load(filename, allow_pickle=True) if 'checksum' in data: file_checksum = data['checksum'] return file_checksum == checksum