Skip to content

Commit

Permalink
fix: only create log/ dir if DNE
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Nov 17, 2023
1 parent db84781 commit b6fba24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def init(**kwargs):
"""Initialize the working directory by copying the system default config files"""
paths = ("nextflow.config", "conf/", "assets/")
copy_config(paths)
os.mkdir("log/")
if not os.path.exists("log/"):
os.mkdir("log/")


cli.add_command(run)
Expand Down

0 comments on commit b6fba24

Please sign in to comment.