mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-12-22 10:38:16 +00:00
Merge pull request #293 from pontus/bugfix/issue_291_part1
Make memory checks use closed intervals
This commit is contained in:
commit
0600ac1293
1 changed files with 2 additions and 2 deletions
|
@ -24,11 +24,11 @@ try {
|
|||
def clusterOptionsCreator = { m ->
|
||||
String base = "-A $params.project ${params.clusterOptions ?: ''}"
|
||||
// Do not use -p node on irma or if a thin node/core is enough
|
||||
if (m < 125.GB || hostname ==~ "i.*") {
|
||||
if (m <= 125.GB || hostname ==~ "i.*") {
|
||||
return base
|
||||
}
|
||||
|
||||
if (m < 250.GB) {
|
||||
if (m <= 250.GB) {
|
||||
return base + " -p node -C mem256GB "
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue