alab_management.experiment_cancel module

alab_management.experiment_cancel module#

Cancel one experiment and free only that experiment’s software bookings.

This is the dashboard Cancel button. It force-cancels that experiment’s live tasks (the same write Reset lab uses, scoped to this experiment), dismisses its user-input prompts, cancels its pending resource requests, releases its devices and positions, and marks the experiment Cancelled.

It does not emergency-stop hardware that is already moving, and it does not touch other experiments. Use Reset lab when the whole lab is stuck.

cancel_experiment_software_state(exp_id)[source]#

Stop one experiment and release the bookings that belong to it.

Return type:

dict[str, Any]