Directory with custom configuration for CoTeDe
To keep the local environment tight, CoTeDe expects to find all local files, like pre-set QC procedures, in one single place. This function returns the path to that directory.
subdir (str, optional) – Sub-directory inside the base custom directory.
A path to the local custom files.
The default path is a directory at the user’s home like:
- Return type
That default path can be modified by defining the environment variable COTEDE_DIR. On bash that could be done like:
For windows users the path is automatically adjusted to reflect its syntax.
A sub-directory for configuration files, named ‘cfg’, can be determined by: