Bug report
Anything that comes after the bucket in the outputDir directive is ignored.
Example:
outputDir = "gs://MY_BUCKET/dir1/dir2"
process test {
input:
val(counter)
output:
tuple val("test_loc/${counter}"), val(counter), path("output.txt")
script:
"""
touch output.txt
"""
}
workflow {
main:
counter_channel = channel.fromList((1..10).toList())
to_publish = test(counter_channel)
publish:
to_publish = to_publish
}
output {
to_publish {
mode 'copy'
path { odir, counter, _fname->
odir }
}
}
Output is saved in:
gsutil ls "gs://MY_BUCKET/test_loc"
1 2 3 4 5 6 8 9 10
Environment
- Nextflow version: 26.01.1-edge