-
-
Notifications
You must be signed in to change notification settings - Fork 2
[WIP] Implement conditionals. #123
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
Conversation
jmchilton
commented
Nov 9, 2020
4259b6e
to
03c5606
Compare
03c5606 is the actual conditional implementing, and I think it passes every test case that includes a when with no I was remembering pickValues being on inputs... but I was clearly wrong. All the test cases have them on workflow outputs and that is the only place they can be according to the spec. This makes implementing them more tricky for sure - some ideas for paths forward on #126 |
03c5606
to
fb7dd8c
Compare
@@ -1760,6 +1761,23 @@ def from_cwl(value): | |||
for key, value in execution_state.inputs.items(): | |||
step_state[key] = to_cwl(value) | |||
|
|||
if when_expression is not None: | |||
from cwltool.expression import do_eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's import this at the top
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can tell I have developed habits stemming from frequent rebasing, imports at top result in conflicts 😆 .
fb7dd8c
to
39e7491
Compare
05e650a
to
177702b
Compare
39e7491
to
ebbf8fe
Compare
ebbf8fe
to
8647a09
Compare
Hey @jmchilton , what can we do to get this merged? |
I guess this PR can get rebased or merged with galaxyproject#10712 now that it has been accepted upstream? |
e5d6948
to
7f21c69
Compare
4b69370
to
f19ccf9
Compare
b85744d
to
e2636c2
Compare
9e3eb29
to
b6ff70d
Compare
e90dbbd
to
3c57abe
Compare
2857bf9
to
a22fdcf
Compare
8009556
to
8488047
Compare
9a13f5f
to
ef9f5d4
Compare
Already merged! |