schrodinger.application.models.execution.modelrunner module¶
- class schrodinger.application.models.execution.modelrunner.AbstractModelRunner(composite_model: CompositeModel)¶
Bases:
object- __init__(composite_model: CompositeModel)¶
- Parameters:
composite_model – The composite model to run. It must have a row source and a row sink set. The model’s logic type must match the runner class.
- run()¶
- class schrodinger.application.models.execution.modelrunner.MapFunctionModelRunner(composite_model: CompositeModel)¶
Bases:
AbstractModelRunner
- class schrodinger.application.models.execution.modelrunner.BeamYamlModelRunner(composite_model: CompositeModel)¶
Bases:
AbstractModelRunner
- schrodinger.application.models.execution.modelrunner.run_model(composite_model: CompositeModel, library: AbstractModelLibrary) ExecutionRecord¶
Run the given composite model using the appropriate runner based on its logic type. The composite model must have a row source and a row sink set.
- class schrodinger.application.models.execution.modelrunner.ModelRunnerTask(*args, _param_type=<object object>, **kwargs)¶
Bases:
BlockingFunctionTaskTask interface for running a model.
- class Input(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam- config_id: str¶
A parameter of the class.
- config_version: int¶
A parameter of the class.
- library: AbstractModelLibrary¶
A parameter of the class.
- row_source: AbstractRowSource¶
A parameter of the class.
- row_sink: AbstractRowSink¶
A parameter of the class.
- config_idChanged¶
A
pyqtSignalemitted by instances of the class.
- config_idReplaced¶
A
pyqtSignalemitted by instances of the class.
- config_versionChanged¶
A
pyqtSignalemitted by instances of the class.
- config_versionReplaced¶
A
pyqtSignalemitted by instances of the class.
- libraryChanged¶
A
pyqtSignalemitted by instances of the class.
- libraryReplaced¶
A
pyqtSignalemitted by instances of the class.
- row_sinkChanged¶
A
pyqtSignalemitted by instances of the class.
- row_sinkReplaced¶
A
pyqtSignalemitted by instances of the class.
- row_sourceChanged¶
A
pyqtSignalemitted by instances of the class.
- row_sourceReplaced¶
A
pyqtSignalemitted by instances of the class.
- class Output(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam- record: ExecutionRecord¶
A parameter of the class.
- recordChanged¶
A
pyqtSignalemitted by instances of the class.
- recordReplaced¶
A
pyqtSignalemitted by instances of the class.
- mainFunction()¶
- calling_contextChanged¶
A
pyqtSignalemitted by instances of the class.
- calling_contextReplaced¶
A
pyqtSignalemitted by instances of the class.
- failure_infoChanged¶
A
pyqtSignalemitted by instances of the class.
- failure_infoReplaced¶
A
pyqtSignalemitted by instances of the class.
- input: CompoundParam¶
A parameter of the class.
- inputChanged¶
A
pyqtSignalemitted by instances of the class.
- inputReplaced¶
A
pyqtSignalemitted by instances of the class.
- max_progressChanged¶
A
pyqtSignalemitted by instances of the class.
- max_progressReplaced¶
A
pyqtSignalemitted by instances of the class.
- nameChanged¶
A
pyqtSignalemitted by instances of the class.
- nameReplaced¶
A
pyqtSignalemitted by instances of the class.
- output: CompoundParam¶
A parameter of the class.
- outputChanged¶
A
pyqtSignalemitted by instances of the class.
- outputReplaced¶
A
pyqtSignalemitted by instances of the class.
- progressChanged¶
A
pyqtSignalemitted by instances of the class.
- progressReplaced¶
A
pyqtSignalemitted by instances of the class.
- progress_stringChanged¶
A
pyqtSignalemitted by instances of the class.
- progress_stringReplaced¶
A
pyqtSignalemitted by instances of the class.
- statusChanged¶
A
pyqtSignalemitted by instances of the class.
- statusReplaced¶
A
pyqtSignalemitted by instances of the class.