From 49ec143b0aa10b5cdea6d6e0d79aaf8b63f47bfe Mon Sep 17 00:00:00 2001 From: Fabian Date: Wed, 2 Mar 2022 14:22:16 +0100 Subject: [PATCH] Snakefile: fix memory function for clusters == 'all' --- Snakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Snakefile b/Snakefile index 086b048c..4b8fa0b3 100644 --- a/Snakefile +++ b/Snakefile @@ -313,6 +313,8 @@ def memory(w): break if w.clusters.endswith('m'): return int(factor * (18000 + 180 * int(w.clusters[:-1]))) + elif w.clusters == "all": + return int(factor * (18000 + 180 * 4000)) else: return int(factor * (10000 + 195 * int(w.clusters)))