Changed autosave

This commit is contained in:
sebastiankloth 2022-11-03 14:17:28 +01:00
parent 36eddfff1c
commit 33db65b148
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ def save_data(filename, checksum, data):
def load_data(filename): def load_data(filename):
"""Load data from a npz file.""" """Load data from a npz file."""
notify('Loading result from file: {}'.format(filename)) notify('Loading result from file: {}'.format(filename))
fdata = np.load(filename, alloe_pickle=True) fdata = np.load(filename, allow_pickle=True)
if 'data' in fdata: if 'data' in fdata:
return fdata['data'] return fdata['data']
else: else:

View File

@ -22,6 +22,6 @@ setup(
'index-xtc = mdevaluate.cli:run' 'index-xtc = mdevaluate.cli:run'
] ]
}, },
version='22.6', version='22.10',
requires=['numpy', 'scipy'], requires=['numpy', 'scipy'],
) )