Skip to content

Commit

Permalink
Fix the issue for converting wrm type to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
gaobhub authored and ecoon committed Mar 13, 2024
1 parent f03ca9c commit 3d0e839
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/input_converters/xml-1.4-master.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ def copy_element(a_soil_list, var_name, var_type):


def lowercase_wrmtype(xml):
rename_element(xml, "WRM type", "wrm type")
rename_element(xml, "WRM Type", "wrm type")
rename_element(xml, "permafrost WRM type", "permafrost wrm type")
rename_element(xml, "permafrost WRM Type", "permafrost wrm type")
replace_string_in_name(xml, "WRM type", "wrm type")
replace_string_in_name(xml, "WRM Type", "wrm type")
replace_string_in_name(xml, "permafrost WRM type", "permafrost wrm type")
replace_string_in_name(xml, "permafrost WRM Type", "permafrost wrm type")


def brooks_corey(xml):
Expand Down

0 comments on commit 3d0e839

Please sign in to comment.