In both StateTransitionRef and PreConditionStateRef, the validation performed when VALUE is specified checks in_param_if_snref twice:
self.in_param_if_snref is not None or self.in_param_if_snref is not None
The second operand appears to be intended to check in_param_if_snpathref.
As a result, a reference provided exclusively through IN-PARAM-IF-SNPATHREF does not satisfy this validation.
Files:
odxtools/statetransitionref.py
odxtools/preconditionstateref.py
A local correction changes the second operand to in_param_if_snpathref.
In both
StateTransitionRefandPreConditionStateRef, the validation performed whenVALUEis specified checksin_param_if_snreftwice:self.in_param_if_snref is not None or self.in_param_if_snref is not None
The second operand appears to be intended to check
in_param_if_snpathref.As a result, a reference provided exclusively through
IN-PARAM-IF-SNPATHREFdoes not satisfy this validation.Files:
odxtools/statetransitionref.pyodxtools/preconditionstateref.pyA local correction changes the second operand to
in_param_if_snpathref.