update_env#

caf.mat.ufm.update_env(saturn_path)[source]#

Create a copy of environment variables and adds SATURN path.

Parameters:

saturn_path (Path) – Path to folder containing SATURN batch files.

Returns:

A copy of os.environ with the saturn_path added to the “PATH” variable.

Return type:

dict[str, str]

Raises:

NotADirectoryError – If saturn_path isn’t an existing folder.