Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
klaus_wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eteri
klaus_wendelin
Commits
cc43b18a
Commit
cc43b18a
authored
Sep 21, 2018
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Data Array: add access to more standard numpy array attributes of zbigarray
parent
2770bdc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.DataArray.py
...TemplateItem/portal_components/document.erp5.DataArray.py
+8
-0
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.DataArray.xml
...emplateItem/portal_components/document.erp5.DataArray.xml
+3
-3
No files found.
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.DataArray.py
View file @
cc43b18a
...
...
@@ -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
):
"""
...
...
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.DataArray.xml
View file @
cc43b18a
...
...
@@ -46,9 +46,9 @@
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:1
37
, 42: Redefining built-in \'format\' (redefined-builtin)
</string>
<string>
W:1
54
, 4: Redefining built-in \'range\' (redefined-builtin)
</string>
<string>
W:18
1
, 10: No exception type(s) specified (bare-except)
</string>
<string>
W:1
45
, 42: Redefining built-in \'format\' (redefined-builtin)
</string>
<string>
W:1
62
, 4: Redefining built-in \'range\' (redefined-builtin)
</string>
<string>
W:18
9
, 10: No exception type(s) specified (bare-except)
</string>
</tuple>
</value>
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment