From 1a396c36b95fabccb3f8f12e095b3ed8ddf22201 Mon Sep 17 00:00:00 2001 From: Peter Belmann Date: Fri, 15 Nov 2024 09:32:30 +0000 Subject: [PATCH] fix(magAttributes): create checkm2 database dir only when necessary --- modules/magAttributes/module.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/magAttributes/module.nf b/modules/magAttributes/module.nf index fd5da698..12c1a2e3 100644 --- a/modules/magAttributes/module.nf +++ b/modules/magAttributes/module.nf @@ -90,7 +90,7 @@ process pCheckM2 { containerOptions Utils.getDockerMount(params.steps?.magAttributes?.checkm2?.database, params) + Utils.getDockerNetwork() - beforeScript "mkdir -p ${params.polished.databases}" + beforeScript Utils.getCreateDatabaseDirCommand("${params.polished.databases}") label 'medium'