Skip to content

Commit

Permalink
Merge fbe974c into 706f6db
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs authored Sep 30, 2021
2 parents 706f6db + fbe974c commit f5876d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flopy/mf6/mfpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,8 @@ def __init__(
)
# only store the file name. model relative path handled
# internally
filename = os.path.split(filename)[-1]
if model_or_sim.type.lower() == "model":
filename = os.path.split(filename)[-1]
self._filename = MFFileMgmt.string_to_file_path(filename)
self.path, self.structure = model_or_sim.register_package(
self, not loading_package, pname is None, filename is None
Expand Down

0 comments on commit f5876d3

Please sign in to comment.