labscript.utils.suppress_all_warnings
- suppress_all_warnings(state=True)[source]
A context manager which modifies compiler.suppress_all_warnings
Allows the user to suppress (or show) all warnings for specific lines. Useful when you want to hide/show all warnings from specific lines.
- Parameters:
state (bool) – The new state for
compiler.suppress_all_warnings
. Defaults toprovided. (True if not explicitly) –