schrodinger.application.livedesign_ml.ldml_preferences module

Preference utilities for LiveDesign ML (LDML) operations.

This module provides a class to manage LDML-related preferences, particularly for tracking the state of LDML monitoring jobs.

class schrodinger.application.livedesign_ml.ldml_preferences.LDMLPreferences

Bases: object

Singleton class to manage LiveDesign ML preferences.

classmethod getInstance() LDMLPreferences

Get singleton LDMLPreferences instance.

__init__()
getAttemptJobRestart() bool

Get the preference indicating whether to attempt LDML job restart. If the preference is not set, defaults to False.

Returns:

True if restart should be attempted, False otherwise

enableJobRestartPreference()

Enable the LDML job restart preference.

disableJobRestartPreference()

Disable the LDML job restart preference.