schrodinger.application.jaguar.validation module¶
Jaguar keywords input validation and custom Exceptions
-
exception
schrodinger.application.jaguar.validation.JaguarKeywordError(keyword, allowed_keywords)¶ Bases:
schrodinger.application.jaguar.validation.JaguarKeywordExceptionException class raised when nonexistant Jaguar keyword is requested
-
exception
schrodinger.application.jaguar.validation.JaguarKeywordException¶ Bases:
schrodinger.application.jaguar.exceptions.JaguarUserFacingExceptionBase exception class for all custom Jaguar keyword validation errors
-
exception
schrodinger.application.jaguar.validation.JaguarKeywordFormatError(token)¶ Bases:
schrodinger.application.jaguar.validation.JaguarKeywordExceptionException class raised when a string not in the keyword=value format is found
-
exception
schrodinger.application.jaguar.validation.JaguarKeywordValueError(keyword, value, settings)¶ Bases:
schrodinger.application.jaguar.validation.JaguarKeywordExceptionException class raised when Jaguar keyword value is invalid
-
exception
schrodinger.application.jaguar.validation.JaguarKeywordValueTypeError(keyword, value, valid_type)¶ Bases:
schrodinger.application.jaguar.validation.JaguarKeywordExceptionException class raised when Jaguar keyword value has wrong type
-
schrodinger.application.jaguar.validation.keyword_value_pair_is_valid(keyword, value)¶ Validate a specific keyword=value pair. The checks are case insensitive.
Parameters: Returns: True if all pairs valid, otherwise raise specialized exceptions.