From 713a032a36d22b96e1a2cae96a3c78fa6b40f3fb Mon Sep 17 00:00:00 2001 From: "Thiseas C. Lamnidis" Date: Tue, 26 Jan 2021 15:08:21 +0100 Subject: [PATCH] Add debug profile which deactivates cleanup of workdir after successful run --- conf/shh.config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/shh.config b/conf/shh.config index dc51e87..ab3dcca 100644 --- a/conf/shh.config +++ b/conf/shh.config @@ -10,6 +10,7 @@ params { igenomes_base = "/projects1/public_data/igenomes/" } +// Preform work directory cleanup after a successful run cleanup = true singularity { @@ -46,4 +47,8 @@ profiles { queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } } } + // Profile to deactivate automatic cleanup of work directory after a successful run. Overwrites cleanup option. + debug { + cleanup = false + } }