Commit b6a63426 authored by Daniel Boeckenhoff's avatar Daniel Boeckenhoff
Browse files

Merge branch 'rna' of https://gitlab.mpcdf.mpg.de/dboe/tfields into rna

parents 5dd84a69 6e879ff1
Subproject commit 96a8a33fe8b8d800853f8ee2cbf7a1e5814bef91
Subproject commit 26fd6192f92b8b24463d4f81100f32eac88dab81
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment