add nextflow d30e48d
This commit is contained in:
34
nextflow/tests/output-globs.nf
Normal file
34
nextflow/tests/output-globs.nf
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
def getCmd() {
|
||||
"""
|
||||
mkdir -p a/a b/b c/c
|
||||
touch a/1.txt
|
||||
touch b/1.txt
|
||||
touch c/1.txt
|
||||
touch a/a/2.txt
|
||||
touch b/b/2.txt
|
||||
touch c/c/2.txt
|
||||
"""
|
||||
}
|
||||
|
||||
process foo {
|
||||
output:
|
||||
file("a/*/*.txt")
|
||||
script:
|
||||
getCmd()
|
||||
}
|
||||
|
||||
process bar {
|
||||
scratch true
|
||||
output:
|
||||
file("a/*/*.txt")
|
||||
script:
|
||||
getCmd()
|
||||
}
|
||||
|
||||
workflow {
|
||||
foo()
|
||||
foo.out.view { "foo: $it" }
|
||||
bar()
|
||||
bar.out.view { "bar: $it" }
|
||||
}
|
||||
Reference in New Issue
Block a user