You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently an output val declaration is able only to capture a value defined in the process script context.
However it'd be useful to allow to use also value literals and value expression. For example:
x = 100
process foo {
input:
file fastq from 'dummy'
output:
val 'Hello' into str_channel
val "${fastq.baseName}-${x}.out" into exp_channel
"""
echo bar
"""
}
str_channel.println { "str: $it" }
exp_channel.println { "exp: $it" }
It should print:
str: Hello
exp: input-100.out
The text was updated successfully, but these errors were encountered:
Currently an output
val
declaration is able only to capture a value defined in the process script context.However it'd be useful to allow to use also value literals and value expression. For example:
It should print:
The text was updated successfully, but these errors were encountered: