Skip to content

Error in the illustrative image for Workflow section 4.5 (Setting a splitter for nodes) #43

Open
@adi611

Description

@adi611

Under section 4.5 of Workflow, the workflow input is x=[3,5,7] which is provided as Lazy Inputs to both the mean and power tasks as x_list and a respectively, which implies both x_list and a equals [3,5,7] , evident from the code:

wf8 = pydra.Workflow(name='wf8', input_spec=['x'], x=[3, 5, 7])
wf8.add(mean(name='mean', x_list=wf8.lzin.x))
# adding a task that has its own splitter
wf8.add(power(name='power', a=wf8.lzin.x).split('a'))

But the illustrative image for the same code shows both x_list and a with value [3,5,8]:
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions