Skip to content

Commit

Permalink
Merge pull request #281 from akikaede6/main
Browse files Browse the repository at this point in the history
fix: COMPU-DEFAULT-VALUE parsing issue by modifying its hierarchical …
  • Loading branch information
andlaus authored Mar 27, 2024
2 parents 96d2c88 + 691bea3 commit 217ad48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odxtools/compumethods/createanycompumethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def create_any_compu_method_from_et(et_element: ElementTree.Element,
scale_elem, doc_frags, internal_type=internal_type,
physical_type=physical_type))
compu_default_value = create_compu_default_value(
et_element.find("COMPU-DEFAULT-VALUE"), doc_frags, **kwargs)
et_element.find("COMPU-INTERNAL-TO-PHYS/COMPU-DEFAULT-VALUE"), doc_frags, **kwargs)

return TexttableCompuMethod(
internal_to_phys=internal_to_phys,
Expand Down

0 comments on commit 217ad48

Please sign in to comment.