wip
CI for csaxs_bec / test (push) Failing after 1m25s

This commit is contained in:
2026-06-19 16:08:02 +02:00
parent c36a7363e7
commit 3ad7220aaf
@@ -297,7 +297,7 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard):
# Once we have received all channels, push data to BEC and reset for next accumulation
if len(self._current_data) == self.NUM_MCA_CHANNELS:
logger.debug(
logger.info(
f"Current data index {self._current_data_index} complete, pushing to BEC."
)
self.mca.put(self._current_data, acquisition_group=self._acquisition_group)
@@ -459,6 +459,9 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard):
and self.scan_parameters.num_points is not None
):
if self.scan_parameters.scan_type == "software_triggered":
logger.info(
f"Software triggered scan: {self._current_data_index}/{self.scan_parameters.num_points} points received."
)
if self._current_data_index == self.scan_parameters.num_points:
for callback in self._scan_done_callbacks:
callback(exception=None)