Changed autosave
This commit is contained in:
parent
36eddfff1c
commit
33db65b148
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user