From 066d93f6cf1851ff4bd14e64ef2a0c85f08d2c29 Mon Sep 17 00:00:00 2001 From: x12sa Date: Wed, 16 Sep 2026 11:39:42 +0200 Subject: [PATCH] feat(lamni): add step size to scilog_last_ptycho_scans summary line Mirrors the same fix just applied to Flomni: tomo_shellstep was already captured in every projection timing record but never surfaced in the per-scan SciLog message. Add it next to FOV. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01CpPtD7tCRwRZZnREhWcJi8 --- csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py index d620cbf8..cc9155f5 100644 --- a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py +++ b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py @@ -1134,12 +1134,14 @@ class LamNI(TomoQueueMixin, LamNIAlignmentMixin, LamNIOpticsMixin, LamniGuiTools fovx = rec.get("lamni_piezo_range_x") fovy = rec.get("lamni_piezo_range_y") fov_str = f"{fovx} x {fovy} um" if fovx is not None and fovy is not None else "?" + step = rec.get("tomo_shellstep") + step_str = f"{step} um" if step is not None else "?" exposure = rec.get("tomo_countingtime") exp_str = f"{exposure} s" if exposure is not None else "?" duration = rec.get("duration_s") dur_str = self._format_duration(duration) if duration is not None else "?" lines.append( - f"scan {scan_str}: FOV {fov_str}, exposure {exp_str}, duration {dur_str}" + f"scan {scan_str}: FOV {fov_str}, step {step_str}, exposure {exp_str}, duration {dur_str}" ) content = "\n".join(lines)