mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
add queue choice
This commit is contained in:
parent
c7eed3fa4c
commit
5e54912ada
1 changed files with 8 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue