get_condition#
- pyCGM2.flow.settingsHandler.get_condition(settings, condition_id)#
Return a condition of the protocol.
- Parameters:
settings (dict) – flow user settings.
condition_id (str) – Condition identifier (e.g.
Condition1).
- Returns:
dict – The condition.
- Raises:
Exception – If the condition is not found.