We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Compiler
1 parent 32b3d6e commit 7e0ab10Copy full SHA for 7e0ab10
labscript/compiler.py
@@ -25,7 +25,10 @@
25
_SAVE_GIT_INFO = LabConfig().getboolean("labscript", "save_git_info", fallback=False)
26
27
28
-class Compiler(object):
+# Note: This class name is chosen to work around a autosummary bug, see
29
+# https://github.com/sphinx-doc/sphinx/issues/11362 It could be reverted to just
30
+# ``Compiler`` once the bug is fixed.
31
+class _Compiler(object):
32
"""Compiler singleton that saves relevant parameters during compilation of each shot"""
33
34
_instance = None
@@ -85,5 +88,5 @@ def reset(self):
85
88
self.compression = 'gzip' # set to 'gzip' for compression
86
89
87
90
-compiler = Compiler()
91
+compiler = _Compiler()
92
"""The compiler instance"""
0 commit comments