Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsen-usgs committed Dec 21, 2024
1 parent cee5511 commit 7a824c5
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions autotest/test_model_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,6 @@ def build_gwt_model(sim, gwtname, rch_package):

@requires_exe("mf6")
def test_timeseries(function_tmpdir):

sim = MFSimulation(
sim_name="np001",
sim_ws=function_tmpdir,
Expand All @@ -1326,16 +1325,11 @@ def test_timeseries(function_tmpdir):
preconditioner_drop_tolerance=0.01,
number_orthogonalizations=2,
)
gwf = flopy.mf6.ModflowGwf(sim,)
gwf = flopy.mf6.ModflowGwf(
sim,
)
dis = flopy.mf6.ModflowGwfdis(
gwf,
nlay=1,
nrow=1,
ncol=10,
delr=500,
delc=500,
top=100,
botm=50
gwf, nlay=1, nrow=1, ncol=10, delr=500, delc=500, top=100, botm=50
)

ic = flopy.mf6.ModflowGwfic(gwf, strt=95)
Expand Down Expand Up @@ -1377,7 +1371,7 @@ def test_timeseries(function_tmpdir):
"filename": "drn_ts.ts",
"timeseries": [(0.0, 60.0), (100000.0, 60.0)],
"time_series_namerecord": "drn_1",
"interpolation_methodrecord": "linearend"
"interpolation_methodrecord": "linearend",
}
drn = flopy.mf6.ModflowGwfdrn(
gwf,
Expand All @@ -1402,7 +1396,6 @@ def test_timeseries(function_tmpdir):
sim.write_simulation()
sim.run_simulation()


mfs = Mf6Splitter(sim)
mask = mfs.optimize_splitting_mask(2)
new_sim = mfs.split_model(mask)
Expand All @@ -1412,4 +1405,4 @@ def test_timeseries(function_tmpdir):
success, _ = new_sim.run_simulation()

if not success:
raise AssertionError("Timeseries split simulation did not properly run")
raise AssertionError("Timeseries split simulation did not properly run")

0 comments on commit 7a824c5

Please sign in to comment.