Skip to content

Instantly share code, notes, and snippets.

@scottfrazer
Last active May 5, 2016 13:54
Show Gist options
  • Save scottfrazer/319f2e7fc0e94b06af58d695e2cb3051 to your computer and use it in GitHub Desktop.
Save scottfrazer/319f2e7fc0e94b06af58d695e2cb3051 to your computer and use it in GitHub Desktop.
workflow w {
Array[String] x = ["a", "b", "c"]
String z = "d"
call t as t0 {input: a=z} # a="d"
scatter (y in x) {
String z = y + "foo"
call t as t1 {input: a=y, b=z} # (for first shard) a="a", b="afoo"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment