Commit 520254ce authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix issue with PropertyArray during pickling

parent b20a625e
Pipeline #140 failed with stage
......@@ -365,7 +365,7 @@ class PropertyArray(numpy.ndarray):
return self._get_base().__array_interface__['data'][0]
def _check_data(self):
if self.prop_map is None:
if not hasattr(self, "_prop_map") or self.prop_map is None:
data = self.prop_map._get_data()
Supports Markdown
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