Skip to content

Commit b6fd95b

Browse files
committed
oc arrays object -> str dtype, type checking off for now
1 parent 01d4b04 commit b6fd95b

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"source.fixAll": "explicit"
1313
}
1414
},
15-
"mypy-type-checker.importStrategy": "fromEnvironment",
15+
"python.analysis.typeCheckingMode": "off",
1616
"files.exclude": {
1717
"**/.git": true,
1818
"**/.svn": true,

flopy4/mf6/gwf/oc.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,25 @@ class Period:
4646
)
4747
# TODO: needs coverter and then rename?
4848
head: Optional[Format] = field(block="options", default=None)
49-
save_head: Optional[NDArray[np.object_]] = array(
50-
object,
49+
save_head: Optional[NDArray[np.str_]] = array(
5150
block="period",
5251
default="all",
5352
dims=("nper",),
5453
converter=Converter(dict_to_array, takes_self=True, takes_field=True),
5554
)
56-
save_budget: Optional[NDArray[np.object_]] = array(
57-
object,
55+
save_budget: Optional[NDArray[np.str_]] = array(
5856
block="period",
5957
default="all",
6058
dims=("nper",),
6159
converter=Converter(dict_to_array, takes_self=True, takes_field=True),
6260
)
63-
print_head: Optional[NDArray[np.object_]] = array(
64-
object,
61+
print_head: Optional[NDArray[np.str_]] = array(
6562
block="period",
6663
default="all",
6764
dims=("nper",),
6865
converter=Converter(dict_to_array, takes_self=True, takes_field=True),
6966
)
70-
print_budget: Optional[NDArray[np.object_]] = array(
71-
object,
67+
print_budget: Optional[NDArray[np.str_]] = array(
7268
block="period",
7369
default="all",
7470
dims=("nper",),

0 commit comments

Comments
 (0)