From ea09fd4d5152ab2ca1088a7f3f99a200a0751ef3 Mon Sep 17 00:00:00 2001 From: Antonia Beteva Date: Mon, 24 Feb 2025 19:38:16 +0100 Subject: [PATCH] Update TangoShutter.py Added code-block to improve documentation. --- mxcubecore/HardwareObjects/TangoShutter.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/mxcubecore/HardwareObjects/TangoShutter.py b/mxcubecore/HardwareObjects/TangoShutter.py index ef13b1dbc8..c2a3d11f6b 100644 --- a/mxcubecore/HardwareObjects/TangoShutter.py +++ b/mxcubecore/HardwareObjects/TangoShutter.py @@ -25,14 +25,17 @@ "UNKNOWN", "OPEN", "CLOSED", "FAULT", "MOVING", "DISABLE", "STANDBY", "RUNNING" Example xml file: - - Safety Shutter - ab/cd/ef - Open - Close - State - {"OPEN": "MYOPEN", "NEWSTATE": ["MYSTATE", "BUSY"]} - + +.. code-block:: xml + + + Safety Shutter + ab/cd/ef + Open + Close + State + {"OPEN": "MYOPEN", "NEWSTATE": ["MYSTATE", "BUSY"]} + In the example the property contains a dictionary that redefines or adds specific tango shutter states.