diff --git a/conf/cbe.config b/conf/cbe.config index 18f72dc..2ff0b6b 100755 --- a/conf/cbe.config +++ b/conf/cbe.config @@ -8,7 +8,7 @@ params { process { executor = 'slurm' queue = { task.memory <= 170.GB ? 'c' : 'm' } - clusterOptions = { task.time <= 1.h ? '--qos rapid' : task.time <= 8.h ? '--qos short': task.time <= 48.h ? '--qos medium' : '--qos long' } + clusterOptions = { def qos = task.time <= 1.h ? '--qos rapid' : { task.time <= 8.h ? '--qos short': { task.time <= 48.h ? '--qos medium' : '--qos long' } }; qos << ' --signal B:USR2' } module = 'anaconda3/2019.10' }