Skip to content

Commit 1945462

Browse files
committed
fix stack order
1 parent e728bd2 commit 1945462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbatcher/tests/test_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_batch_3d_1d_input(sample_ds_3d, bsize):
6363
assert ds_batch.dims['sample'] == sample_ds_3d.dims['y'] * sample_ds_3d.dims['time']
6464
expected_slice = slice(bsize*n, bsize*(n+1))
6565
ds_batch_expected = (sample_ds_3d.isel(x=expected_slice)
66-
.stack(sample=['time', 'y'])
66+
.stack(sample=['y', 'time'])
6767
.transpose('sample', 'x'))
6868
print(ds_batch)
6969
print(ds_batch_expected)

0 commit comments

Comments
 (0)