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
Boxiang Sun
wendelin
Commits
ed1e08aa
Commit
ed1e08aa
authored
Sep 29, 2015
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust after API change
parent
d72b505f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_transformTail.xml
...m/portal_skins/erp5_wendelin/DataStream_transformTail.xml
+1
-1
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
...tTemplateItem/portal_components/test.erp5.testWendelin.py
+5
-2
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.xml
...TemplateItem/portal_components/test.erp5.testWendelin.xml
+4
-4
No files found.
bt5/erp5_wendelin/SkinTemplateItem/portal_skins/erp5_wendelin/DataStream_transformTail.xml
View file @
ed1e08aa
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
*argument_list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.py
View file @
ed1e08aa
...
@@ -144,7 +144,7 @@ class Test(ERP5TypeTestCase):
...
@@ -144,7 +144,7 @@ class Test(ERP5TypeTestCase):
# override DataStream_transformTail to actually do transformation on appenData
# override DataStream_transformTail to actually do transformation on appenData
start
=
data_stream
.
getSize
()
start
=
data_stream
.
getSize
()
script_id
=
'DataStream_transformTail'
script_id
=
'DataStream_transformTail'
script_content_list
=
[
''
,
"""
script_content_list
=
[
"*argument_list"
,
"""
# created by testWendelin.test_01_1_IngestionTail
# created by testWendelin.test_01_1_IngestionTail
start = %s
start = %s
end = %s
end = %s
...
@@ -154,7 +154,10 @@ context.activate().DataStream_readChunkListAndTransform( \
...
@@ -154,7 +154,10 @@ context.activate().DataStream_readChunkListAndTransform( \
%s,
\
%s,
\
transform_script_id = 'DataStream_copyCSVToDataArray',
\
transform_script_id = 'DataStream_copyCSVToDataArray',
\
data_array_reference=context.getReference())"""
%
(
start
,
start
+
10450
,
10450
)]
data_array_reference=context.getReference())"""
%
(
start
,
start
+
10450
,
10450
)]
createZODBPythonScript
(
portal
.
portal_skins
.
custom
,
script_id
,
*
script_content_list
)
createZODBPythonScript
(
portal
.
portal_skins
.
custom
,
script_id
,
*
script_content_list
)
number_string_list
=
[]
number_string_list
=
[]
for
my_list
in
list
(
chunks
(
range
(
10001
,
200001
),
10
)):
for
my_list
in
list
(
chunks
(
range
(
10001
,
200001
),
10
)):
...
...
bt5/erp5_wendelin/TestTemplateItem/portal_components/test.erp5.testWendelin.xml
View file @
ed1e08aa
...
@@ -52,11 +52,11 @@
...
@@ -52,11 +52,11 @@
<string>
W: 79, 4: Unused variable \'sklearn\' (unused-variable)
</string>
<string>
W: 79, 4: Unused variable \'sklearn\' (unused-variable)
</string>
<string>
W: 98, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W: 98, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W:138, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W:138, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W:1
89
, 8: Unused variable \'i\' (unused-variable)
</string>
<string>
W:1
92
, 8: Unused variable \'i\' (unused-variable)
</string>
<string>
W:138, 4: Unused variable \'ingestion_policy\' (unused-variable)
</string>
<string>
W:138, 4: Unused variable \'ingestion_policy\' (unused-variable)
</string>
<string>
W:2
19
, 4: Unused variable \'ingestion_policy\' (unused-variable)
</string>
<string>
W:2
22
, 4: Unused variable \'ingestion_policy\' (unused-variable)
</string>
<string>
W:2
19
, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W:2
22
, 22: Unused variable \'data_supply\' (unused-variable)
</string>
<string>
W:2
19
, 48: Unused variable \'data_array\' (unused-variable)
</string>
<string>
W:2
22
, 48: Unused variable \'data_array\' (unused-variable)
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</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