-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Sometimes, instead of changing to a directory via os.chdir(), I set the current directory of the control manager to an absolute path. This is especially helpful when copying models from one directory to another.
However, it is not intended for absolute paths to be used. When condition files are saved, the control file that is generated is linked in the control check. In the case of absolute paths, this should be a raw string, but it is not.
As an example: This is part of the condition file as an outcome of setting absolute paths in the control manager:
controlcheck(projectdir=r"weisse_elster", controldir="G:\fis2408407\04_Reali\04_HydPy_Modelle\operational_models\202511.1\weisse_elster\model\control\default", stepsize="1h")