add nextflow d30e48d
This commit is contained in:
17
nextflow/tests/fair.nf
Normal file
17
nextflow/tests/fair.nf
Normal file
@@ -0,0 +1,17 @@
|
||||
process foo {
|
||||
fair true
|
||||
input:
|
||||
val x
|
||||
output:
|
||||
tuple val(task.index), val(x)
|
||||
|
||||
script:
|
||||
"""
|
||||
sleep \$((RANDOM % 3))
|
||||
"""
|
||||
}
|
||||
|
||||
|
||||
workflow {
|
||||
channel.of('a'..'z') | foo | view
|
||||
}
|
||||
Reference in New Issue
Block a user