w
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m25s
CI for csaxs_bec / test (pull_request) Failing after 1m29s

This commit is contained in:
2026-01-26 08:19:37 +01:00
parent 701557f1f9
commit 7ee5db3ca0

View File

@@ -115,7 +115,7 @@ class GalilRIOSignalRO(GalilSignalRO):
"""
for walk in self.parent.walk_signals():
if walk.item.attr_name.startswith("an_ch"):
channel_index = int(walk.item.attr_name.split("_")[-1])
channel_index = int(walk.item.attr_name.split[-1])
if 0 <= channel_index < len(values):
old_val = walk.item._readback
new_val = values[channel_index]