diff --git a/nlmod/dims/base.py b/nlmod/dims/base.py index 3ec3f946..43085b10 100644 --- a/nlmod/dims/base.py +++ b/nlmod/dims/base.py @@ -46,7 +46,7 @@ def set_ds_attrs(ds, model_name, model_ws, mfversion="mf6", exe_name=None): ds.attrs["created_on"] = dt.datetime.now().strftime(fmt) if exe_name is None: - exe_name = util.get_exe_path(mfversion) + exe_name = util.get_exe_path(exe_name=mfversion) ds.attrs["exe_name"] = exe_name diff --git a/nlmod/dims/grid.py b/nlmod/dims/grid.py index 68a4c9b9..84656692 100644 --- a/nlmod/dims/grid.py +++ b/nlmod/dims/grid.py @@ -442,7 +442,7 @@ def refine( logger.info("create vertex grid using gridgen") if exe_name is None: - exe_name = util.get_exe_path("gridgen") + exe_name = util.get_exe_path(exe_name="gridgen") if model_ws is None: model_ws = os.path.join(ds.model_ws, "gridgen") diff --git a/nlmod/modpath/modpath.py b/nlmod/modpath/modpath.py index 125c3aa3..93d5358b 100644 --- a/nlmod/modpath/modpath.py +++ b/nlmod/modpath/modpath.py @@ -217,7 +217,7 @@ def mpf(gwf, exe_name=None, modelname=None, model_ws=None): # get executable if exe_name is None: - exe_name = util.get_exe_path("mp7_2_002_provisional") + exe_name = util.get_exe_path(exe_name="mp7_2_002_provisional") # create mpf model mpf = flopy.modpath.Modpath7( diff --git a/nlmod/sim/sim.py b/nlmod/sim/sim.py index 119a97bf..a690d038 100644 --- a/nlmod/sim/sim.py +++ b/nlmod/sim/sim.py @@ -131,7 +131,7 @@ def sim(ds, exe_name=None): logger.info("creating mf6 SIM") if exe_name is None: - exe_name = util.get_exe_path(ds.mfversion) + exe_name = util.get_exe_path(exe_name=ds.mfversion) # Create the Flopy simulation object sim = flopy.mf6.MFSimulation(