Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
ewoks
ewoksdask
Commits
2a3c1ddd
Commit
2a3c1ddd
authored
Feb 22, 2022
by
Wout De Nolf
Browse files
node_id argument is mandatory
parent
534f0605
Pipeline
#67896
failed with stages
in 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ewoksdask/bindings.py
View file @
2a3c1ddd
...
...
@@ -24,8 +24,8 @@ def execute_task(execinfo, *inputs):
for
source_results
,
link_attrs
in
zip
(
inputs
,
execinfo
[
"link_attrs"
]):
add_dynamic_inputs
(
dynamic_inputs
,
link_attrs
,
source_results
)
task
=
instantiate_task
(
execinfo
[
"node_id"
],
execinfo
[
"node_attrs"
],
node_id
=
execinfo
[
"node_id"
],
inputs
=
dynamic_inputs
,
varinfo
=
execinfo
[
"varinfo"
],
)
...
...
@@ -42,7 +42,7 @@ def convert_graph(ewoksgraph, **execute_options):
link_attrs
=
tuple
(
ewoksgraph
.
graph
[
source_id
][
target_id
]
for
source_id
in
source_ids
)
node_label
=
get_node_label
(
node_attrs
,
node_id
=
target_id
)
node_label
=
get_node_label
(
target_id
,
node_attrs
)
execute_options
[
"node_id"
]
=
target_id
execute_options
[
"node_label"
]
=
node_label
execute_options
[
"node_attrs"
]
=
node_attrs
...
...
Write
Preview
Supports
Markdown
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