Commit 03b8fb6e authored by Klaus Wölfel's avatar Klaus Wölfel

Data Array View: Temporary hack to appear like plain array

parent 7523c242
...@@ -91,4 +91,12 @@ class DataArrayView(DataArray): ...@@ -91,4 +91,12 @@ class DataArrayView(DataArray):
line_list = [(l.getIntIndex(), l.getArray()) for l in self.objectValues(portal_type="Data Array View Line")] line_list = [(l.getIntIndex(), l.getArray()) for l in self.objectValues(portal_type="Data Array View Line")]
if not line_list: if not line_list:
return None return None
return MergedArray([l[1] for l in sorted(line_list)]) return MergedArray([l[1] for l in sorted(line_list)])
\ No newline at end of file
def getArrayDtype(self):
"""Standard dtype"""
return "float64"
def getArrayShape(self):
"""Standard shape"""
return (self.getArray().shape[0], 48)
\ No newline at end of file
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