eugene.utils.make_dirs

eugene.utils.make_dirs(output_dir, overwrite=False)

Make a directory if it doesn’t exist.

Parameters:
  • output_dir (PathLike) – The path to the directory to create.

  • overwrite (bool, optional) – Whether to overwrite the directory if it already exists, by default False.