diff --git a/make b/make index 96a8a33fe8b8d800853f8ee2cbf7a1e5814bef91..26fd6192f92b8b24463d4f81100f32eac88dab81 160000 --- a/make +++ b/make @@ -1 +1 @@ -Subproject commit 96a8a33fe8b8d800853f8ee2cbf7a1e5814bef91 +Subproject commit 26fd6192f92b8b24463d4f81100f32eac88dab81 diff --git a/tfields/core.py b/tfields/core.py index 023aa32668610105310dd3ac23260384a171fbc5..ae34ed69499caad23de5c7d60cdc07b8b09045b4 100644 --- a/tfields/core.py +++ b/tfields/core.py @@ -360,7 +360,9 @@ class AbstractNdarray(np.ndarray): Factory method Given a path to a npz file, construct the object """ - np_file = np.load(path, **load_kwargs) + # TODO: think about allow_pickle, wheter it really should be True or + # wheter we could avoid pickling + np_file = np.load(path, allow_pickle=True, **load_kwargs) return cls._from_dict(**np_file) def _as_dict(self):