Skip to content

Commit

Permalink
Small corrections for all python tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
slevis-lmwg committed Aug 30, 2024
1 parent b6a9862 commit df36ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/ctsm/test/test_sys_gen_mksurfdata_namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_simple_namelist(self):
main()
self.assertTrue(os.path.exists(self.outfile), "Output surface dataset file should exist")

def test_vic_nocrop_inlandwet_glc_namelist(self):
def test_nocrop_inlandwet_glc_namelist(self):
"""
Test a namelist with several options on
"""
Expand All @@ -75,7 +75,6 @@ def test_vic_nocrop_inlandwet_glc_namelist(self):
"1850",
"--res",
"1.9x2.5",
"--vic",
"--nocrop",
"--inlandwet",
"--glc",
Expand Down
4 changes: 2 additions & 2 deletions python/ctsm/toolchain/gen_mksurfdata_namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def main():
potveg = args.potveg_flag
glc_nec = args.glc_nec

hires_soitex = process_hires_options(args, start_year, end_year)
hires_soitex = process_hires_options(args)

if force_model_mesh_file is not None:
open_mesh_file(force_model_mesh_file, force_model_mesh_nx, force_model_mesh_ny)
Expand Down Expand Up @@ -409,7 +409,7 @@ def main():
print(f"Successfully created input namelist file {nlfname}")


def process_hires_options(args, start_year, end_year):
def process_hires_options(args):
"""
Process options related to hi-res
"""
Expand Down

0 comments on commit df36ab3

Please sign in to comment.