diff --git a/mxcubeweb/core/components/samplechanger.py b/mxcubeweb/core/components/samplechanger.py index a86aaf640..ce207c0df 100644 --- a/mxcubeweb/core/components/samplechanger.py +++ b/mxcubeweb/core/components/samplechanger.py @@ -214,7 +214,7 @@ def mount_sample_clean_up(self, sample): res = sc.load(sample["sampleID"], wait=True) if ( - res is not False + res and HWR.beamline.queue_manager.centring_method == queue_entry.CENTRING_METHOD.LOOP and not HWR.beamline.diffractometer.in_plate_mode()