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

Allow WDL workflow inputs to depend on tasks in the workflow #4993

Open
adamnovak opened this issue Jun 27, 2024 · 0 comments
Open

Allow WDL workflow inputs to depend on tasks in the workflow #4993

adamnovak opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels

Comments

@adamnovak
Copy link
Member

adamnovak commented Jun 27, 2024

The WDL 1.0 spec says that you can do this:

workflow foo {
  input {
    Int x = 10
    Int y = my_task.out
  }

  call my_task as t1 { input: int_in = x }
  call my_task as t2 { input: int_in = y }
}

(For a suitable definition of my_task.)

In addition to the implied ability to refer to the first my_task call as my_task here, this also is explicitly described as running one of these tasks to determine the input used by the other task, unless y is passed in, in which case they can run in parallel.

To support this we need to refactor how Toil thinks about evaluating workflow inputs and turn the individual items into jobs that can happen after jobs within the workflow.

┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-1606

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants