Skip to content

Commit 11a9822

Browse files
Assign coords explicitly
1 parent b660692 commit 11a9822

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

imod/tests/test_wq/test_wq_drn.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ def test_render_with_stress_repeats__elevation(drainage):
8888

8989
def test_compress_discontinuous_layers(drainage):
9090
drn = drainage
91-
layer = drn["layer"].values
92-
layer[1] += 1
93-
layer[2] += 2
94-
drn["layer"] = drn["layer"].copy(data=layer)
91+
drn.dataset = drn.dataset.assign_coords(layer=[1, 3, 5])
9592
directory = pathlib.Path(".")
9693

9794
compare = """

0 commit comments

Comments
 (0)