From 1a6eb5ab902bc176b43142a90c750ea315ebeacb Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 3 Jun 2026 13:10:38 +0200 Subject: [PATCH] fix: update info storage with num_monitored_readouts --- debye_bec/devices/utils/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/debye_bec/devices/utils/utils.py b/debye_bec/devices/utils/utils.py index 1475961..3e8794c 100644 --- a/debye_bec/devices/utils/utils.py +++ b/debye_bec/devices/utils/utils.py @@ -13,6 +13,7 @@ def fetch_scan_info(scan_info: ScanInfo) -> ScanServerScanInfo: info = scan_info.msg.info if isinstance(info["positions"], list): info["positions"] = np.array(info["positions"]) + info["num_monitored_readouts"] = scan_info.msg.num_monitored_readouts try: msg = ScanServerScanInfo.model_validate(info) except ValidationError: # This means we have an old scan_info object.