diff --git a/yafe/base.py b/yafe/base.py index e4c82cca539630f25f1986a5ed1990bc904888f9..368a67ebc2a58d159ca3933d7de557a50041c648 100644 --- a/yafe/base.py +++ b/yafe/base.py @@ -1069,7 +1069,8 @@ class Experiment: If no collected results file can be found. """ if (self.xp_path / 'results.npz').exists(): - data = np.load(str(self.xp_path / 'results.npz')) + data = np.load(str(self.xp_path / 'results.npz'), + allow_pickle=True) if array_type == 'numpy': return (data['results'], data['axes_labels'],