From 43e8b3d750e2277d05546f3b7ad1aff72b1b25c8 Mon Sep 17 00:00:00 2001
From: Maciej Bak <maciej.bak@unibas.ch>
Date: Mon, 16 Aug 2021 21:37:43 +0200
Subject: [PATCH] remove unnecessary check for cluster log dir

---
 workflow/Snakefile | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/workflow/Snakefile b/workflow/Snakefile
index 210c077..fb6b5a1 100644
--- a/workflow/Snakefile
+++ b/workflow/Snakefile
@@ -37,16 +37,6 @@ except KeyError:
     rule_config = {}
     logger.warning(f"No rule config specified: using default values for all tools.")
 
-# Create dir for cluster logs, if applicable
-onstart:
-    if config["cluster_logs"]:
-        os.makedirs(
-            os.path.join(
-                os.getcwd(),
-                config["cluster_logs"],
-        ),
-        exist_ok=True)
-
 
 ## Function definitions
 
-- 
GitLab