Skip to content

Commit

Permalink
minor fixes for mf6 model setup
Browse files Browse the repository at this point in the history
  • Loading branch information
apryet committed Apr 2, 2024
1 parent 4bfd847 commit 45bcf02
Show file tree
Hide file tree
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
Expand Up @@ -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.
"""
Expand Down
2 changes: 2 additions & 0 deletions mfsetup/sourcedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45bcf02

Please sign in to comment.