From 82ae4d4c87b2a3692f2f9927028326d251da1da5 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 3 Jan 2022 23:23:47 -0500 Subject: using set --- qolab/hardware/scpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab/hardware/scpi.py') diff --git a/qolab/hardware/scpi.py b/qolab/hardware/scpi.py index 3617d05..4eab5aa 100644 --- a/qolab/hardware/scpi.py +++ b/qolab/hardware/scpi.py @@ -199,7 +199,7 @@ if __name__ == '__main__': z = SCPI_PROPERTY(scpi_prfx='SETY', ptype=int, no_getter=True, doc='property Z') c1= DummyInstrument() - c1.deviceProperties=['x', 'y'] + c1.deviceProperties={'x', 'y'} c1.getConfig() c2= DummyInstrument() -- cgit v1.2.3