runtraj.ProjectConfig.from_yaml#

classmethod ProjectConfig.from_yaml(path)[source]#

Load a project config from a YAML file.

Raises:

ValueError – If the file is not valid YAML, writes one key twice in a section (YAML would keep the last value), or holds a wrong setting.

Return type:

Self

Parameters:

path (str | Path)