alab_management.experiment_manager module#

Experiment manager for the ALAB.

It is responsible for parsing the incoming experiment requests into many tasks and samples and mark the finished tasks in the database when it is done.

class ExperimentManager[source]#

Bases: object

Experiment manager read experiments from the experiment collection and submit the experiment to executor and flag the completed experiments.

handle_pending_experiments()[source]#

This method will scan the database to find out if there are any pending experiments and submit it to task database.

mark_completed_experiments()[source]#

This method will scan the database to mark completed experiments in time.

pause_handling_experiments()[source]#

This method will pause the handle pending experiments.

refresh_task_list()[source]#

This method will refresh the task list by reloading definition of tasks.

run()[source]#

Start the event loop.