-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Figuring out path forward on complicated output sources #126
Comments
I found an interesting test case that uses pickValue on the result of one step.
Problem here is very similar, we set the outputs when we create the job - not when the jobs are complete. So we don't have an extension point to pick those values and set a workflow output. Same trick here though of adding a step that takes an input, evaluates the picking, and then setting the output would potentially work. We could also extend the workflow output logic to encode the delayed picking in the database somehow and just pick when we need to fetch the values. That isn't super clean either. |
Now that I've looked through the rest of the test cases and thought through things a bit more - I think there are 4 potential paths forward.
3 ... seems gross. It feels like a lot of complexity that isn't buying us much beyond implementing pickValues for CWL unless we can come up with some other use cases. 4 seems like I good, noble project to improve Galaxy, but it is going to be "a thing". 1 seems... very nice the only drawback is it doesn't really translate to Galaxy Format 2 readily. 1 would seem to make more sense than 2, but 2 is worth considering in case we can come up with some cool syntax that makes sense for Galaxy and Format 2 that we could adapt the outputs to (i.e. a variant of this where you're picking inputs instead of picking outputs). |
I can give you option 1 today and you can switch to other options at your
leisure 🙂
|
@jmchilton I've got a WIP on option 1; question: is |
Does it ever appear on a step? I couldn't find an example of this. |
@jmchilton It can https://www.commonwl.org/v1.2/Workflow.html#WorkflowStepInput ; imagine a conditional |
Consider
cond-wf-003.cwl
Currently we tie all workflow outputs to a particular step, Galaxy doesn't really have non-step processing of workflows.
Question:
pickValue
? If yes, if there. a simpler test case to work off of that doesn't depend on pickValue.The text was updated successfully, but these errors were encountered: