Commit c5da1906 authored by Klaus Wölfel's avatar Klaus Wölfel Committed by Klaus Wölfel

DataArray: return zbigarray after initialisation

parent e8154cf0
...@@ -62,6 +62,7 @@ class DataArray(BigFile): ...@@ -62,6 +62,7 @@ class DataArray(BigFile):
""" """
array = ZBigArray(shape, dtype) array = ZBigArray(shape, dtype)
self._setArray(array) self._setArray(array)
return array
def getArray(self, default=None): def getArray(self, default=None):
""" """
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple> <tuple>
<string>W:118, 42: Redefining built-in \'format\' (redefined-builtin)</string> <string>W:119, 42: Redefining built-in \'format\' (redefined-builtin)</string>
<string>W:135, 4: Redefining built-in \'range\' (redefined-builtin)</string> <string>W:136, 4: Redefining built-in \'range\' (redefined-builtin)</string>
<string>W:162, 10: No exception type(s) specified (bare-except)</string> <string>W:163, 10: No exception type(s) specified (bare-except)</string>
</tuple> </tuple>
</value> </value>
</item> </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