get_config_dir¶
- lsst.ts.m2com.get_config_dir(env_variable: str = 'TS_CONFIG_MTTCS_DIR', relative_path: str = 'MTM2/v2') Path ¶
Get the directory of configuration files.
Parameters¶
- env_variable
str
, optional Environment variable of “ts_config_mttcs”. (the default is “TS_CONFIG_MTTCS_DIR”)
- relative_path
str
, optional Relative path to the “ts_config_mttcs”. (the default is “MTM2/v2”)
Returns¶
pathlib.PosixPath
Path of the configuration directory.
- env_variable