Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adi611 opened this issue Mar 16, 2023 · 1 comment
Assignees

Comments

@adi611
Copy link
Contributor

adi611 commented Mar 16, 2023

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

@djarecka
Copy link
Contributor

that is my mistake, will change it. Thank you!

@djarecka djarecka self-assigned this Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants