Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Ophélie Gagnard
slapos.core
Commits
e5024fd6
Commit
e5024fd6
authored
Feb 01, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_metadata_transform_agent: missing one
parent
6c9789b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_metadata_transform_agent/SkinTemplateItem/portal_skins/slapos_metadata_transform_agent/DataArray_getArrayFileInfoList.py
...etadata_transform_agent/DataArray_getArrayFileInfoList.py
+2
-2
No files found.
master/bt5/slapos_metadata_transform_agent/SkinTemplateItem/portal_skins/slapos_metadata_transform_agent/DataArray_getArrayFileInfoList.py
View file @
e5024fd6
...
@@ -21,10 +21,10 @@ tmp_data_stream = context.data_stream_module.newContent(portal_type='Data Stream
...
@@ -21,10 +21,10 @@ tmp_data_stream = context.data_stream_module.newContent(portal_type='Data Stream
def
createTempBase
(
nr
,
row
):
def
createTempBase
(
nr
,
row
):
def
getElementFromArray
(
array
,
index
):
def
getElementFromArray
(
array
,
index
):
return
tmp_data_stream
.
get_path_from_uid
(
array
[
index
]
,
'test'
)
return
tmp_data_stream
.
get_path_from_uid
(
array
[
index
])
def
getElementFromScalar
(
scalar
,
index
=
None
):
def
getElementFromScalar
(
scalar
,
index
=
None
):
return
tmp_data_stream
.
get_path_from_uid
(
scalar
,
'test'
)
return
tmp_data_stream
.
get_path_from_uid
(
scalar
)
column_list
=
[
col
for
col
in
context
.
DataArray_getArrayColumnList
()
if
col
[
0
]
!=
'index'
]
column_list
=
[
col
for
col
in
context
.
DataArray_getArrayColumnList
()
if
col
[
0
]
!=
'index'
]
column_iterator
=
enumerate
(
column_list
)
column_iterator
=
enumerate
(
column_list
)
...
...
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