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:
parent
6c4998fa8a
commit
1cbe2759c4
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue