loadSettings#
- pyCGM2.Utils.files.loadSettings(DATA_PATH: str, settingFile: str, subfolder: str = '')#
Load settings from a specified file. It first checks the data path for the settings file, if not found, it loads from the default pyCGM2 settings folder.
- Parameters:
DATA_PATH (str) – The path to the data directory.
settingFile (str) – The name of the settings file.
subfolder (str, optional) – Subfolder within the pyCGM2 settings folder. Defaults to “”.
- Returns:
dict – Loaded settings.