Commit a9895411 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Eteri

Data Array: add access to more standard numpy array attributes of zbigarray

parent cb7d0c56
......@@ -112,6 +112,14 @@ class DataArray(BigFile):
else:
return self.getArray().nbytes
def getArrayItemsize(self):
""" Itemsize"""
return self.getArray().itemsize
def getArrayNbytes(self):
""" Nbytes"""
return self.getArray().nbytes
security.declareProtected(Permissions.AccessContentsInformation, 'getArrayShape')
def getArrayShape(self):
"""
......
......@@ -46,9 +46,9 @@
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W:137, 42: Redefining built-in \'format\' (redefined-builtin)</string>
<string>W:154, 4: Redefining built-in \'range\' (redefined-builtin)</string>
<string>W:181, 10: No exception type(s) specified (bare-except)</string>
<string>W:145, 42: Redefining built-in \'format\' (redefined-builtin)</string>
<string>W:162, 4: Redefining built-in \'range\' (redefined-builtin)</string>
<string>W:189, 10: No exception type(s) specified (bare-except)</string>
</tuple>
</value>
</item>
......
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