schrodinger.application.models.execution.modelrunner module¶
- class schrodinger.application.models.execution.modelrunner.AbstractModelRunner(composite_model: CompositeModel, row_source: AbstractRowSource, row_sink: AbstractRowSink)¶
Bases:
objectBase class for running a composite model.
- runner_type: RunnerType = None¶
- __init__(composite_model: CompositeModel, row_source: AbstractRowSource, row_sink: AbstractRowSink)¶
- run(user: str) ExecutionRecord¶
Run the model and return a partial execution record.
- class schrodinger.application.models.execution.modelrunner.BeamYamlModelRunner(composite_model: CompositeModel, row_source: AbstractRowSource, row_sink: AbstractRowSink)¶
Bases:
AbstractModelRunnerRun a model pipeline with the Beam Direct Runner.
- runner_type: RunnerType = 'DIRECT-RUNNER'¶
- class schrodinger.application.models.execution.modelrunner.SeamYamlModelRunner(composite_model: CompositeModel, row_source: AbstractRowSource, row_sink: AbstractRowSink)¶
Bases:
BeamYamlModelRunnerRun a model pipeline with the Seam Runner.
- runner_type: RunnerType = 'SEAM-RUNNER'¶
- run(user: str) ExecutionRecord¶
Run the model and attach the Seam directory when present.
- schrodinger.application.models.execution.modelrunner.run_model(composite_model: CompositeModel, row_source: AbstractRowSource, row_sink: AbstractRowSink, user: str, runner_type: RunnerType = RunnerType.SEAM_RUNNER) ExecutionRecord¶
Run a valid composite model using a Beam YAML runner.
- class schrodinger.application.models.execution.modelrunner.ModelRunnerTask(*args, _param_type=<object object>, **kwargs)¶
Bases:
BlockingFunctionTaskTask interface for running a composite model.
- class Input(*args, _param_type=<object object>, **kwargs)¶
Bases:
CompoundParam- composite: CompositeModel¶
A parameter of the class.
- row_source: AbstractRowSource¶
A parameter of the class.
- row_sink: AbstractRowSink¶
A parameter of the class.
- compositeChanged¶
A
pyqtSignalemitted by instances of the class.
- compositeReplaced¶
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() None¶
Run the configured model and store its execution record.
- 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.