pyanno4rt.input_check._input_checker
Input checker.
Overview
Input checker class. |
Classes
- class pyanno4rt.input_check._input_checker.InputChecker[source]
Input checker class.
This class provides methods to perform input checks on the user-defined parameters for objects of any class from
base. It ensures the validity of the internal program steps with regard to the exogenous variables.- check_map
Dictionary with all mappings between parameter names and validity check functions.
- Type:
dict
- Raises:
ValueError – If non-unique parameter names are found.
Notes
The
InputCheckerclass relies on the uniqueness of the parameter names to create a dictionary-based mapping. Hence, make sure to assign unique labels for all parameters to be checked!Overview
Methods approve(input_dictionary)Approve the input dictionary items (parameter names and values) by running the corresponding check functions.
Members