-
Bug report(Please follow this template replacing the text between parentheses with the requested information) Expected behavior and actual behaviorVal should be returned from a function Steps to reproduce the problemCalling the following function: process haplotagging_padUMI {
} Program outputERROR ~ Error executing process > 'haplotagging_create_bam_files:haplotagging_padUMI (1)' Caused by: Environment
Additional context(Add any other context about the problem here) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi The |
Beta Was this translation helpful? Give feedback.
-
Ah... that appears to have fixed my problem. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi
The
val
output type will emit a native Nextflow (Groovy) variable, and not a variable from the language in the script block (in your case, bash). If you would like to emit a bash variable, you would use theenv
type. See the documentation here: https://www.nextflow.io/docs/latest/process.html#output-type-env