We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f27b4d1 commit 69bb763Copy full SHA for 69bb763
docs/conf.py
@@ -33,9 +33,13 @@
33
# rather than `__init__` that is unhelpful
34
# for instruments. When building the docs
35
# we patch it back to ABCMeta
36
+# this should happen as early as possible
37
import qcodes.instrument.instrument_meta
38
39
qcodes.instrument.instrument_meta.InstrumentMeta = ABCMeta
40
+# we need to reload any module that has been imported and
41
+# makes use of this metaclass. The modules below are all imported
42
+# by importing qcodes.instrument so we need to reload them
43
reload(qcodes.instrument.instrument)
44
reload(qcodes.instrument.ip)
45
reload(qcodes.instrument.visa)
0 commit comments