Skip to content

Commit

Permalink
fix(dfn): remove some special handling for subpackages (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Jan 31, 2025
1 parent e809295 commit b15a699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modflow_devtools/dfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def _fields() -> Vars:
# if var is a foreign key, return subpkg var instead
if ref:
return Var(
name=ref["param" if name == ("sim", "nam") else "val"],
name=ref["val"],
type=_type,
shape=shape,
block=block,
Expand Down

0 comments on commit b15a699

Please sign in to comment.