config.files module

Test the files, set up logging module.

_create_project_folders(config_folder: Path, project_folder: str | Path = '') Path

Create a folder to store outputs and log messages.

edit_configuration_dict_in_place(files_kw: dict[str, str | Path], config_folder: Path) None

Set some useful paths.

test(config_folder: Path, dat_file: str, **files_kw: str | Path) None

Check that given path exists, modify if necessary. Set up logging.

Parameters:
  • config_folder (Path) – Where the .toml is stored. Used to resolve relative paths.

  • dat_file (str) – Path to the .dat file.

  • files_kw (str) – Other files keyword arguments.