Skip to content

Commit

Permalink
fix: COMPU-DEFAULT-VALUE parsing issue by modifying its hierarchical …
Browse files Browse the repository at this point in the history
…level
  • Loading branch information
akikaede6 committed Mar 27, 2024
1 parent 96d2c88 commit 691bea3
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 691bea3

Please sign in to comment.