pyrolab.configure.update_config

Contents

pyrolab.configure.update_config#

update_config(filename: str | Path) None[source]#

Updates the internal configuration file with a user configuration file.

Performs validation on the configuration file before updating.

Parameters:
filenamestr or Path, optional

The path to the configuration file to load.

Raises:
FileNotFoundError

If the configuration file does not exist.

ValidationError

If the configuration file is invalid.