Skip to content

Commit

Permalink
#296: fix bug when two levels of parent path do not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Aug 7, 2024
1 parent 5f0c3c8 commit 98a4b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alphadia/workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 98a4b48

Please sign in to comment.