diff --git a/nlmod/modpath/modpath.py b/nlmod/modpath/modpath.py index 93d5358b..336db050 100644 --- a/nlmod/modpath/modpath.py +++ b/nlmod/modpath/modpath.py @@ -215,9 +215,11 @@ def mpf(gwf, exe_name=None, modelname=None, model_ws=None): "the save_flows option of the npf package should be True not None" ) - # get executable + # get executable. version_tag not supported yet if exe_name is None: exe_name = util.get_exe_path(exe_name="mp7_2_002_provisional") + else: + exe_name = util.get_exe_path(exe_name=exe_name) # create mpf model mpf = flopy.modpath.Modpath7( diff --git a/nlmod/util.py b/nlmod/util.py index 6a60f85d..16c65a6d 100644 --- a/nlmod/util.py +++ b/nlmod/util.py @@ -404,9 +404,8 @@ def download_mfbinaries(bindir=None, version_tag="latest", repo="executables"): get_modflow(bindir=str(bindir), release_id=version_tag, repo=repo) - if sys.platform.startswith("win"): - # download the provisional version of modpath from Github - download_modpath_provisional_exe(bindir) + # download the provisional version of modpath from Github + download_modpath_provisional_exe(bindir=bindir, timeout=120) def get_ds_empty(ds, keep_coords=None):