schrodinger.application.models.datamodels.configuration2 module

class schrodinger.application.models.datamodels.configuration2.ModelConfiguration(*args, _param_type=<object object>, **kwargs)

Bases: ModelInterface, CompoundParam

mmshare_version: int

A parameter of the class.

metadata: ModelMetadata

A parameter of the class.

__init__(parent: ModelDefinition | ModelConfiguration | None = None, source_config: Optional[Self] = None, **kwargs: Any)
Parameters:
  • parent – The parent definition or configuration. Pass None only when the CompoundParam framework constructs instances internally (e.g. deepcopy, deserialization) — user code should always supply a parent.

  • source_config – If given, its transforms are deep-copied instead of being derived from parent. The caller must ensure source_config was built from the same definition lineage as parent; structural mismatches are surfaced by validation2.validate_composite_model.

definition_id: str

A parameter of the class.

parent_config_id: str

A parameter of the class.

transforms: list[TransformBinding]

A parameter of the class.

definition_idChanged

A pyqtSignal emitted by instances of the class.

definition_idReplaced

A pyqtSignal emitted by instances of the class.

metadataChanged

A pyqtSignal emitted by instances of the class.

metadataReplaced

A pyqtSignal emitted by instances of the class.

mmshare_versionChanged

A pyqtSignal emitted by instances of the class.

mmshare_versionReplaced

A pyqtSignal emitted by instances of the class.

parent_config_idChanged

A pyqtSignal emitted by instances of the class.

parent_config_idReplaced

A pyqtSignal emitted by instances of the class.

transformsChanged

A pyqtSignal emitted by instances of the class.

transformsReplaced

A pyqtSignal emitted by instances of the class.