diff --git a/autotest/test_particledata.py b/autotest/test_particledata.py index f647a1de3..8840ef42d 100644 --- a/autotest/test_particledata.py +++ b/autotest/test_particledata.py @@ -309,7 +309,9 @@ def test_particledata_to_prp_disv_9(): def test_lrcparticledata_to_prp_divisions_defaults(): sd_data = CellDataType() regions = [[0, 0, 1, 0, 1, 1]] - part_data = LRCParticleData(subdivisiondata=[sd_data], lrcregions=[regions]) + part_data = LRCParticleData( + subdivisiondata=[sd_data], lrcregions=[regions] + ) grid = GridCases().structured_small() rpts_prt = flatten(list(part_data.to_prp(grid))) rpts_exp = [ diff --git a/flopy/modpath/mp7particledata.py b/flopy/modpath/mp7particledata.py index aa4e5e5c6..44c7fe0cc 100644 --- a/flopy/modpath/mp7particledata.py +++ b/flopy/modpath/mp7particledata.py @@ -1109,7 +1109,9 @@ def to_coords(self, grid) -> Iterator[tuple]: for i in range(mini, maxi + 1): for j in range(minj, maxj + 1): for sd in self.subdivisiondata: - for rpt in get_release_points(sd, grid, k, i, j): + for rpt in get_release_points( + sd, grid, k, i, j + ): yield (rpt[3], rpt[4], rpt[5]) def to_prp(self, grid) -> Iterator[tuple]: @@ -1143,7 +1145,9 @@ def to_prp(self, grid) -> Iterator[tuple]: for i in range(mini, maxi + 1): for j in range(minj, maxj + 1): for sd in self.subdivisiondata: - for irpt, rpt in enumerate(get_release_points(sd, grid, k, i, j)): + for irpt, rpt in enumerate( + get_release_points(sd, grid, k, i, j) + ): assert rpt[0] == k assert rpt[1] == i assert rpt[2] == j