CADETProcess.dataStructure.parameter.DependentlyModulatedUnsignedList.check_mod_value

CADETProcess.dataStructure.parameter.DependentlyModulatedUnsignedList.check_mod_value#

DependentlyModulatedUnsignedList.check_mod_value(instance, value)#

Check if the size of the parameter modulo its expected size is zero.

By default, this method checks the modulo condition, but can be overridden by subclasses to incorporate custom behaviors.

Parameters:
instanceobject

The instance associated with the parameter.

valueAny

The value whose size needs to be validated.

Raises:
ValueError

If the modulo condition of the size does not meet the expected criteria.