From 7a824c5bd7e4b244878d530e977e210f9da7cceb Mon Sep 17 00:00:00 2001 From: jlarsen Date: Fri, 20 Dec 2024 17:02:09 -0800 Subject: [PATCH] linting --- autotest/test_model_splitter.py | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/autotest/test_model_splitter.py b/autotest/test_model_splitter.py index 590c6f894..faff38bb1 100644 --- a/autotest/test_model_splitter.py +++ b/autotest/test_model_splitter.py @@ -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, @@ -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) @@ -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, @@ -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) @@ -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") \ No newline at end of file + raise AssertionError("Timeseries split simulation did not properly run")