Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flopy/mf6/utils/codegen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def make_all(dfndir: Path, outdir: PathLike, verbose: bool = False, version: int

# import here instead of module so we don't
# expect optional deps at module init time
from modflow_devtools.dfn import Dfn
from flopy.mf6.utils.dfn import Dfn

dfns = Dfn.load_all(dfndir, version=version)
make_init(dfns, outdir, verbose)
Expand Down
2 changes: 1 addition & 1 deletion flopy/mf6/utils/codegen/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
TypedDict,
)

from modflow_devtools.dfn import Dfn
from flopy.mf6.utils.dfn import Dfn


def get_component_names(dfn: dict) -> list[tuple[str, str]]:
Expand Down
2 changes: 1 addition & 1 deletion flopy/mf6/utils/codegen/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def attrs(dfn: dict, component_name: tuple[str, str]) -> List[str]:
where applicable. TODO: this should get much simpler if we can drop
all the `ListTemplateGenerator`/`ArrayTemplateGenerator` attributes.
"""
from modflow_devtools.dfn import _MF6_SCALARS, Dfn
from flopy.mf6.utils.dfn import _MF6_SCALARS, Dfn

component_base = Filters.base(component_name)
component_vars = _get_vars(dfn)
Expand Down
Loading
Loading