Skip to content

Question regarding a workflow with multiple outputs #4643

Answered by bentsherman
ekageyama asked this question in Q&A
Discussion options

You must be logged in to vote

Because your process has multiple output channels, process1.out is a multi-channel and cannot be emitted as a workflow output. Instead, you should emit each process output separately in the workflow:

emit:
  process1.out[0]
  process1.out[1]
  process1.out[2]

And of course you can name those outputs and access them by name, and you can select which outputs you want to emit from the workflow.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ekageyama
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants