From 8775103bf826c2c60971d06ff0896e066c0f6efc Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Fri, 6 Dec 2024 11:58:45 +0100 Subject: [PATCH] frappy_psi.pulse: fix fatal errors even when a module is work in progress, it should not raise an error on import Change-Id: I2f91301ba2b0c574ea344c36a74da0f893aa326d --- frappy_psi/pulse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frappy_psi/pulse.py b/frappy_psi/pulse.py index 7715d07..7da6706 100644 --- a/frappy_psi/pulse.py +++ b/frappy_psi/pulse.py @@ -48,7 +48,7 @@ class Base(HasIO): return self.communicate(f'smua.measure.{cmd} = {val}') -class Create_Pulse(Base, Readable, Writable): +class Create_Pulse(Base, Writable): target = Parameter('source target', FloatRange, unit='A', readonly=False) width = Parameter('pulse width', FloatRange, unit="s", readonly=False) resistance = Parameter('resistance', FloatRange) @@ -72,3 +72,4 @@ class Create_Pulse(Base, Readable, Writable): class Script(Create_Pulse): + pass