1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-22 18:38:17 +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 {
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 {