w
All checks were successful
CI for csaxs_bec / test (pull_request) Successful in 1m27s
CI for csaxs_bec / test (push) Successful in 1m30s

This commit is contained in:
2026-01-15 10:34:43 +01:00
parent 51fc140150
commit a7367cb561

View File

@@ -432,6 +432,7 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard):
self._start_monitor_async_data_emission.clear() # Stop monitoring
# NOTE Important check as set_finished or set_exception should not be called
# if the status is already done (e.g. cancelled externally)
logger.info(f"Status callback called for {self.name}, exception: {exception}")
if status.done:
return # Already done and cancelled externally.
if exception:
@@ -473,6 +474,7 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard):
self._scan_done_callbacks.append(partial(self._status_callback, status_async_data))
# Set the event to start monitoring async data emission
logger.info(f"Starting to monitor async data emission for {self.name}...")
self._start_monitor_async_data_emission.set()
# Add CompareStatus for Acquiring DONE