input4mips_validation.validation.Conventions#
input4mips_validation.validation.Conventions
#
Validation of the Conventions attribute
REGEXP_TO_MATCH: str = 'CF-[0-9]+\\.[0-9]+'
module-attribute
#
Regular expression that the Conventions attribute must match
This constant is exposed for clarity. If you change it, we do not guarantee correct performance of the codebase.
validate_Conventions(Conventions)
#
Validate the Conventions value
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
Conventions
|
str
|
Conventions value to validate. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
|