1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

add queue choice

This commit is contained in:
maxibor 2019-10-25 14:08:02 +02:00
parent c7eed3fa4c
commit 5e54912ada

View file

@ -14,7 +14,14 @@ singularity {
process { process {
executor = 'slurm' executor = 'slurm'
queue = 'short' switch(task.time){
case {it < 2.h}:
queue = 'short'
case {it > 2.h && it < 48.h}:
queue = 'medium'
case {it > 48.h}:
queue = 'long'
}
} }
executor { executor {