Skip to content

Commit 87e4c4e

Browse files
committed
fixes
1 parent 715f5b9 commit 87e4c4e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

flopy4/mf6/component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ def _preio(self, format: str) -> None:
100100
self.filename = self.default_filename()
101101

102102
def load(self, format: str) -> None:
103-
"""Load the component from an input file."""
103+
"""Load the component and any children."""
104104
self._preio(format=format)
105105
self._load(format=format)
106106
for child in self.children.values(): # type: ignore
107107
child.load(format=format)
108108

109109
def write(self, format: str) -> None:
110-
"""Write the component to an input file."""
110+
"""Write the component and any children."""
111111
self._preio(format=format)
112112
self._write(format=format)
113113
for child in self.children.values(): # type: ignore

flopy4/mf6/simulation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ def run(self, exe: str | PathLike = "mf6", verbose: bool = False) -> None:
5454
)
5555

5656
def load(self, format="ascii"):
57-
"""Load the simulation in the specified format."""
57+
"""Load the simulation."""
5858
with cd(self.workspace):
59-
super().load(format)
59+
super().load(format=format)
6060

6161
def write(self, format="ascii"):
62-
"""Write the simulation in the specified format."""
62+
"""Write the simulation."""
6363
with cd(self.workspace):
64-
super().write(format)
64+
super().write(format=format)

flopy4/mf6/templates/blocks.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ END {{ block_name.upper() }}
99
{% endfor %}
1010

1111
{% for block_name, block_ in (dfn|list_blocks).items() -%}
12-
{{ macros.list(block_name, block_) }}
12+
{{ macros.list(block_name, block_, transient=block_name == "period") }}
1313
{%- endfor%}

0 commit comments

Comments
 (0)