diff --git a/pynapple/io/interface_npz.py b/pynapple/io/interface_npz.py index 4f9e7ca6..7c0ef7ff 100644 --- a/pynapple/io/interface_npz.py +++ b/pynapple/io/interface_npz.py @@ -62,7 +62,7 @@ def __init__(self, path): path = Path(path) self.path = path self.name = path.name - self.file = np.load(self.path, allow_pickle=True) + self.file = np.load(self.path, allow_pickle=False) type_ = "" # First check if type is explicitely defined in the file: