Skip to content

Commit

Permalink
Fix parameter block closure issue specifically for CVMix_CONVECTION
Browse files Browse the repository at this point in the history
  • Loading branch information
minghangli-uni committed Jul 30, 2024
1 parent 286a3d7 commit 77ea02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion om3utils/mom6_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def write(self, file: Path):

# Change keys to uppercase using a regex substitution, as there seems to be no way of doing this with f90nml
# when applying a nml patch.
mom6_input_str = re.sub(r"((?<=^)|(?<=\n))(\w+)", lambda pat: pat.group(2).upper(), mom6_input_str)
# mom6_input_str = re.sub(r"((?<=^)|(?<=\n))(\w+)", lambda pat: pat.group(2).upper(), mom6_input_str)

# Explicitly removed keys from string
for key in self._deleted_keys:
Expand Down

0 comments on commit 77ea02c

Please sign in to comment.