SystemSettings#
- class pyopenms.SystemSettings#
Bases:
objectPer-user OpenMS configuration: the OpenMS.ini parameters and the home, temp and database directories derived from them
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)findDatabase(db_name)Resolve a database filename against the OpenMS.ini id_db_dir entries
Get the per-user configuration directory that holds OpenMS.ini
Get the OpenMS home path (OPENMS_HOME_PATH overrides the default)
Get the OpenMS.ini system parameters, completed with defaults where entries are missing
Get the temp directory (OPENMS_TMPDIR, then OpenMS.ini temp_dir, then the system temp directory)
Get the user data directory (OPENMS_HOME_PATH, then OpenMS.ini home_dir, then the user home)
- static findDatabase(db_name: str) str#
Resolve a database filename against the OpenMS.ini id_db_dir entries
- static getOpenMSConfigDir() str#
Get the per-user configuration directory that holds OpenMS.ini
- static getOpenMSHomePath() str#
Get the OpenMS home path (OPENMS_HOME_PATH overrides the default)
- static getSystemParameters() pyopenms.Param#
Get the OpenMS.ini system parameters, completed with defaults where entries are missing
- static getTempDirectory() str#
Get the temp directory (OPENMS_TMPDIR, then OpenMS.ini temp_dir, then the system temp directory)
- static getUserDirectory() str#
Get the user data directory (OPENMS_HOME_PATH, then OpenMS.ini home_dir, then the user home)