Login
Back to bricks list
Introduction Version

ExperimentRunService

Service used to run experiment

Functions

CREATE_CLI_FOR_EXPERIMENT - @classmethod

Run an experiment in a non-blocking way through the cli.

Parameters:
NameTypeDefault valueDescription
experimentExperiment
userUser The user who is running the experiment. if not provided, the system will try the get the currently authenticated user `gws.user.`
Return type:
SysProc
CREATE_CLI_FOR_EXPERIMENT_PROCESS - @classmethod

Run an experiment in a non-blocking way through the cli.

Parameters:
NameTypeDefault valueDescription
experimentExperiment
protocol_modelProtocolModel
process_instance_namestr
userUser The user who is running the experiment. if not provided, the system will try the get the currently authenticated user `gws.user.`
Return type:
SysProc
GET_ALL_RUNNING_EXPERIMENTS - @classmethod
Return type:
List
RUN_EXPERIMENT - @classmethod

Run the experiment

Parameters:
NameTypeDefault valueDescription
experimentExperiment
Return type:
Experiment
RUN_EXPERIMENT_IN_CLI - @classmethod

Method called by the cli sub process to run the experiment

Parameters:
NameTypeDefault valueDescription
experiment_idstr
RUN_EXPERIMENT_PROCESS_IN_CLI - @classmethod

Method called by the cli sub process to run the experiment

Parameters:
NameTypeDefault valueDescription
experiment_idstr
protocol_model_idstr
process_namestr
STOP_ALL_RUNNING_EXPERIMENT - @classmethod
STOP_EXPERIMENT - @classmethod
Parameters:
NameTypeDefault valueDescription
idstr
Return type:
Experiment