Skip to content

Commit 4ac2bcc

Browse files
committed
upgrade deps, point devtools to dfn branch
1 parent c0acc83 commit 4ac2bcc

File tree

3 files changed

+762
-23
lines changed

3 files changed

+762
-23
lines changed

flopy4/mf6/spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import numpy as np
1313
from attrs import NOTHING, Attribute
1414
from modflow_devtools.dfn.schema.block import block_sort_key
15-
from modflow_devtools.dfn.schema.v2 import SCALAR_T7PES, FieldType
15+
from modflow_devtools.dfn.schema.v2 import SCALAR_TYPES, FieldType
1616
from modflow_devtools.dfn.schema.v2 import Field as FieldV2
1717

1818
from flopy4.spec import array as flopy_array
@@ -278,7 +278,7 @@ def to_field(attribute: Attribute) -> FieldV2:
278278

279279
def is_array_field(field: FieldV2) -> bool:
280280
"""Check if a field should be provided in MF6 array input format."""
281-
return field["type"] in SCALAR_T7PES and "shape" in field
281+
return field["type"] in SCALAR_TYPES and "shape" in field
282282

283283

284284
def is_list_field(field: FieldV2) -> bool:

0 commit comments

Comments
 (0)