Skip to content

Commit

Permalink
fix(binary): revert a few changes in PR #1839 (#1846)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhughes-usgs committed Jun 28, 2023
1 parent 1d4e838 commit edb70b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions autotest/test_mf6.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ def test_binary_write(function_tmpdir):


@requires_exe("mf6")
@pytest.mark.skip(reason='todo:: after flopy binary fix.')
def test_vor_binary_write(function_tmpdir):

# build voronoi grid
Expand Down
2 changes: 1 addition & 1 deletion flopy/mf6/data/mffileaccess.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def _get_header(
precision=precision,
text=text,
ncpl=modelgrid.ncpl,
m2=1,
ilay=ilay,
m3=1,
pertim=pertim,
totim=totim,
kstp=1,
Expand Down
2 changes: 1 addition & 1 deletion flopy/utils/datafile.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def __init__(self, filetype=None, precision="single"):
("totim", floattype),
("text", "a16"),
("ncpl", "i4"),
("m2", "i4"),
("ilay", "i4"),
("m3", "i4"),
]
)
elif self.header_type == "vardisu":
Expand Down

0 comments on commit edb70b4

Please sign in to comment.