pyanno4rt.input_check.check_functions._check_value_in_set
Value set checking.
Overview
|
Check if a value is not included in a set of options. |
Functions
- pyanno4rt.input_check.check_functions._check_value_in_set.check_value_in_set(label, data, options, value_condition=None)[source]
Check if a value is not included in a set of options.
- Parameters:
label (str) – Label for the item to be checked.
data (str or list) – Input value to be checked.
options (tuple or dict) – Tuple or dictionary with the value options.
value_condition (None or str, default=None) – Value of the conditional variable (used as a selector if options is a dictionary).
- Raises:
ValueError – If the data has a value not included in the set of options.