-
Notifications
You must be signed in to change notification settings - Fork 45
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
output_from
from multi-step workflows
#1206
Comments
You are trying to get the output of a workflow, not a step, right? Right now |
Yes. But it will not work because vhat_2 depends on vhat_1 which in my current implemention the dependency is forward style relying on numerical index. |
So, without running anything, you mean
|
I see the problem. When you run the workflow with
|
Yes your 1-3 is what happens. Also curiously when i ask for |
|
So there are a few questions:
|
The problem with |
what's the cons with this approach? In the context of numerically ordered process oriented style, I'd think it is reasonable that |
I am thinking of
namely when |
I see. Then it is perhaps cleanest to somehow introduce the concept of output from workflows, if possible? |
Some added syntax? Isn't that |
Thinking of
We assume that If this can be done, then
will execute |
I think syntax-wise we can stick to what we have, but |
In terms of
It might make sense to run |
I think when input is explicitly specified in this case, then only |
After more thought, I think it is too much trouble to call all previous steps in this case. What is lacking, in my opinion, is dependency of
That is to say, we say I think it is good enough for us to make the dependency consistent, so whereas the aforementioned example would trigger
will not because |
I agree with this. I'm just wondering if we can make |
What has been done:
For 1, we have to add all previous steps because a step might have multiple dependency steps so we cannot simply trace back. For example,
|
Thanks @BoPeng this is reasonable! |
I have this example:
It does not work,
When I change
output_from('vhat')
tooutput_from('vhat_2')
it works whenall.txt
already exists. I would expectvhat
to work though.The text was updated successfully, but these errors were encountered: