Skip to content

Commit

Permalink
minor fixes for mf6 model setup
Browse files Browse the repository at this point in the history
apryet authored and aleaf committed Apr 3, 2024
1 parent 4bfd847 commit 5c55095
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mfsetup/mf6model.py
Original file line number Diff line number Diff line change
@@ -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.
"""
2 changes: 2 additions & 0 deletions mfsetup/sourcedata.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 5c55095

Please sign in to comment.