diff --git a/src/__main__.py b/src/__main__.py index 7b62fccd..b95541a0 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -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)