diff --git a/mxcubecore/HardwareObjects/TangoShutter.py b/mxcubecore/HardwareObjects/TangoShutter.py index de5929ceda..9b76974804 100644 --- a/mxcubecore/HardwareObjects/TangoShutter.py +++ b/mxcubecore/HardwareObjects/TangoShutter.py @@ -31,7 +31,7 @@ Open Close State - {"OPEN": "MYOPEN", "NEWSTATE": ["HardwareObjectState.BUSY", "MYSTATE"]} + {"OPEN": "MYOPEN", "NEWSTATE": ["MYSTATE", "BUSY"]} In the example the property contains a dictionary that redefines or @@ -41,6 +41,7 @@ list. The new state is added to both the VALUES and the SPECIFIC_STATES Enum. Attention: - do not use tuples or the python json parser will fail! + - make sure only double quotes are used inside the values dictionary. No single quotes (') are allowed ! - the second element of the list should be a standard HardwareObjectState name (UNKNOWN, WARNING, BUSY, READY, FAULT, OFF - see in BaseHardwareObjects.py)! The property is optional.