From 45bcf029502312b3e023dc89833d67881c07067e Mon Sep 17 00:00:00 2001 From: apryet Date: Tue, 2 Apr 2024 16:49:44 -0400 Subject: [PATCH] minor fixes for mf6 model setup --- mfsetup/mf6model.py | 3 ++- mfsetup/sourcedata.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mfsetup/mf6model.py b/mfsetup/mf6model.py index 9c8f7767..17d24e46 100644 --- a/mfsetup/mf6model.py +++ b/mfsetup/mf6model.py @@ -479,7 +479,8 @@ def setup_dis(self, **kwargs): print("finished in {:.2f}s\n".format(time.time() - t0)) return dis - def setup_tdis(self): + #def setup_tdis(self): + def setup_tdis(self, **kwargs): """ Sets up the TDIS package. """ diff --git a/mfsetup/sourcedata.py b/mfsetup/sourcedata.py index f30cd679..b91cf8b3 100644 --- a/mfsetup/sourcedata.py +++ b/mfsetup/sourcedata.py @@ -1212,6 +1212,8 @@ def setup_array(model, package, var, data=None, # data specified as source_data elif cfg is not None and var in cfg: + from_model = False + # get the source data block # determine if source data is from another model source_data_input = cfg.get(var)