alab_management.lab_reset module

alab_management.lab_reset module#

Force the lab back to an empty software state without restarting processes.

This is the dashboard “Reset lab” button. It cancels every live task, dismisses user-input prompts, drops resource locks, releases devices, clears the mobile-robot queues, unassigns samples from positions, and closes open experiments.

It does not stop hardware that is already moving, and it does not drop Mongo.

reset_lab_software_state(*, settle_s=2.0)[source]#

Cancel everything the dashboard is waiting on so a new experiment can be submitted.

Return type:

dict[str, int]