File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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_, transient =block_name == "period") }}
12+ {{ macros.list(block_name, block_, stress =block_name == "period") }}
1313{% - endfor %}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ OPEN/CLOSE {{ value }}
5050{% endif %}
5151{% endmacro %}
5252
53- {% macro list (block_name , block , transient =False ) %}
53+ {% macro list (block_name , block , stress =False ) %}
5454{#
5555from mf6's perspective, a list block (e.g. period data)
5656always has just one variable, whose elements might be
@@ -66,7 +66,7 @@ an array. we need to expand this into a block for
6666each stress period.
6767#}
6868{% set d = data [block_name ] %}
69- {% if transient %}
69+ {% if stress %}
7070{% for kper , value in d .items () %}
7171BEGIN {{ block_name.upper() }} {{ kper }}
7272{% for line in value %}
You can’t perform that action at this time.
0 commit comments