1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00

fix invalid rapid qos selection

it only applies to the c partition
This commit is contained in:
Patrick Hüther 2021-09-22 11:54:27 +02:00 committed by GitHub
parent 6c4998fa8a
commit 1cbe2759c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ process {
module = 'anaconda3/2019.10'
// --signal option will be handled by nextflow after 21.10.0 release (see https://github.com/nextflow-io/nextflow/issues/2163)
clusterOptions = { '--signal B:USR2 ' << ( task.time <= 1.h ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) }
clusterOptions = { '--signal B:USR2 ' << ( (queue == 'c' & task.time <= 1.h) ? '--qos rapid' : ( task.time <= 8.h ? '--qos short': ( task.time <= 48.h ? '--qos medium' : '--qos long' ) ) ) }
}
singularity {