emit breaks path output specifier inside tuple #3743
-
Bug reportExpected behavior and actual behaviorA process output in DSL2 specified like this:
ought to work exactly the same as without the
However, the version without
Steps to reproduce the problemHere is a simple DSL2 script I wrote to illustrate the issue:
Running Program outputSTDOUT:
.nextflow.log:
Environment
|
Beta Was this translation helpful? Give feedback.
Answered by
bentsherman
Mar 10, 2023
Replies: 1 comment 1 reply
-
When you use parentheses for the tuple, you have to put the emit inside the tuple: output:
tuple(val(id), path("${id}.fa.fai"), emit: faidx) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
esrice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you use parentheses for the tuple, you have to put the emit inside the tuple: