From 8f105c24e5b42bb321daf2b66d5c3fedcebfb246 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Tue, 14 Jun 2022 22:55:36 -0400 Subject: proper inheritance of the parent deviceProperties --- qolab/feedback/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab/feedback') diff --git a/qolab/feedback/__init__.py b/qolab/feedback/__init__.py index e6785fc..e2dc3c0 100644 --- a/qolab/feedback/__init__.py +++ b/qolab/feedback/__init__.py @@ -7,7 +7,7 @@ class PID(BasicInstrument): self.config['Device model'] = 'Generic Software PID loop' self.config['Device type']='PID loop' self.config['FnamePrefix'] = 'pid' - self.deviceProperties = {'Gp', 'Gi', 'Gd', 'Sign', 'Enable'}; + self.deviceProperties.update({'Gp', 'Gi', 'Gd', 'Sign', 'Enable'}) self.setGp(Gp) self.setGi(Gi) self.setGd(Gd) -- cgit v1.2.3