From 98a4b48486302766c15af2b5b7bae4103e3d0987 Mon Sep 17 00:00:00 2001 From: mschwoerer <82171591+mschwoer@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:05:57 +0200 Subject: [PATCH] #296: fix bug when two levels of parent path do not exist --- alphadia/workflow/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alphadia/workflow/base.py b/alphadia/workflow/base.py index b06fc5d7..dadfcc95 100644 --- a/alphadia/workflow/base.py +++ b/alphadia/workflow/base.py @@ -51,7 +51,7 @@ def __init__( if not os.path.exists(self.parent_path): logger.info(f"Creating parent folder for workflows at {self.parent_path}") - os.mkdir(self.parent_path) + os.makedirs(self.parent_path) if not os.path.exists(self.path): logger.info(