Skip to content

Commit 6ecbf39

Browse files
author
Joost Delsman
committed
hfb id changed to hfb6 as reqd by imodwq
1 parent 6574710 commit 6ecbf39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

imod/wq/hfb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class HorizontalFlowBarrier(Package):
1616
responsible for consistency with model.
1717
"""
1818

19-
_pkg_id = "hfb"
19+
_pkg_id = "hfb6"
2020

21-
_template = "[hfb]\n" " hfbfile = {hfbfile}\n\n"
21+
_template = "[hfb6]\n" " hfbfile = {hfbfile}\n\n"
2222

2323
def __init__(
2424
self,

imod/wq/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def _bas_btn_rch_evt_mal_tvc_sinkssources(self):
607607

608608
def _render_anihfb(self, modelname, directory, nlayer):
609609
out = ""
610-
for key in ("ani", "hfb"):
610+
for key in ("ani", "hfb6"):
611611
pkgkey = self._get_pkgkey(key)
612612
if pkgkey is not None:
613613
out += self[pkgkey]._render(
@@ -810,7 +810,7 @@ def write(
810810
if (
811811
"x" in pkg.dataset.coords
812812
and "y" in pkg.dataset.coords
813-
or pkg._pkg_id in ("wel", "ani", "hfb")
813+
or pkg._pkg_id in ("wel", "ani", "hfb6")
814814
):
815815
try:
816816
pkg.save(directory=directory / pkgname)

0 commit comments

Comments
 (0)