SystemSettings#

class pyopenms.SystemSettings#

Bases: object

Per-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

getOpenMSConfigDir()

Get the per-user configuration directory that holds OpenMS.ini

getOpenMSHomePath()

Get the OpenMS home path (OPENMS_HOME_PATH overrides the default)

getSystemParameters()

Get the OpenMS.ini system parameters, completed with defaults where entries are missing

getTempDirectory()

Get the temp directory (OPENMS_TMPDIR, then OpenMS.ini temp_dir, then the system temp directory)

getUserDirectory()

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)