Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
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
Matevz Golob
wendelin
Commits
0b6e7af3
Commit
0b6e7af3
authored
May 28, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add forgotten property sheet assignment.
parent
2c5f7d75
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
bt5/erp5_wendelin/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
...tTemplateItem/portal_components/test.erp5.testWendelin.py
+6
-3
bt5/erp5_wendelin/bt/template_portal_type_property_sheet_list
...erp5_wendelin/bt/template_portal_type_property_sheet_list
+1
-0
No files found.
bt5/erp5_wendelin/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
0b6e7af3
<property_sheet_list>
<portal_type
id=
"Data Array"
>
<item>
DataArray
</item>
</portal_type>
<portal_type
id=
"Data Product"
>
<item>
DefaultImage
</item>
</portal_type>
...
...
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
View file @
0b6e7af3
...
...
@@ -109,12 +109,15 @@ class Test(ERP5TypeTestCase):
data_array
.
setArray
(
array
)
self
.
tic
()
# test array stored and we teturn ZBig Array instance
persistent_zbig_array
=
data_array
.
getArray
()
self
.
assertEqual
(
ZBigArray
,
persistent_zbig_array
.
__class__
)
self
.
assertEquals
(
array
,
persistent_zbig_array
)
# try to resize it
#pure_numpy_array = persistent_zbig_array[:,:] # ZBigArray -> ndarray view of it
#pure_numpy_array.resize(100, 100)
#pure_numpy_array = np.resize(pure_numpy_array, (100,100))
#self.assertNotEquals(pure_numpy_array.shape, persistent_zbig_array.shape)
\ No newline at end of file
# resize Zbig Array
#persistent_zbig_array.resize(100,100)
\ No newline at end of file
bt5/erp5_wendelin/bt/template_portal_type_property_sheet_list
View file @
0b6e7af3
Data Array | DataArray
Data Product | DefaultImage
Ingestion Policy | IngestionPolicy
\ No newline at end of file
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