From 946254d22e2791099291c79c6907e041e6551666 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 20 Nov 2021 16:53:09 +0800 Subject: [PATCH] artiq_sinara_tester: fix handling of IO_UPDATE with SU-Servo --- artiq/frontend/artiq_sinara_tester.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_sinara_tester.py b/artiq/frontend/artiq_sinara_tester.py index 18841f43e..5c1b79e32 100755 --- a/artiq/frontend/artiq_sinara_tester.py +++ b/artiq/frontend/artiq_sinara_tester.py @@ -101,8 +101,9 @@ class SinaraTester(EnvExperiment): sw_device = desc["arguments"]["sw_device"] del self.ttl_outs[sw_device] elif (module, cls) == ("artiq.coredevice.urukul", "CPLD"): - io_update_device = desc["arguments"]["io_update_device"] - del self.ttl_outs[io_update_device] + io_update_device = desc["arguments"].get("io_update_device", None) + if io_update_device is not None: + del self.ttl_outs[io_update_device] elif (module, cls) == ("artiq.coredevice.sampler", "Sampler"): cnv_device = desc["arguments"]["cnv_device"] del self.ttl_outs[cnv_device]