diff --git a/varvamp/scripts/logging.py b/varvamp/scripts/logging.py index 30bf20d..100f0cd 100644 --- a/varvamp/scripts/logging.py +++ b/varvamp/scripts/logging.py @@ -15,12 +15,12 @@ from varvamp import __version__ -def create_dir_structure(dir): +def create_dir_structure(dir_path): """ create output folders and log file """ cwd = os.getcwd() - results_dir = os.path.join(cwd, dir) + results_dir = os.path.join(cwd, dir_path) data_dir = os.path.join(results_dir, "data/") # create folders if not os.path.exists(results_dir):