Skip to content

Commit 630bb27

Browse files
author
cmdupuis3
committed
really?
1 parent ca34638 commit 630bb27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xbatcher/generators.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def _drop_input_dims(ds, input_dims, suffix='_input'):
5353
out.coords[dim] = newdim, ds[dim].data, ds[dim].attrs
5454
return out
5555

56-
def _maybe_stack_batch_dims(ds, input_dims, squeeze_batch_dim, stacked_dim_name='sample'):
56+
def _maybe_stack_batch_dims(
57+
ds, input_dims, squeeze_batch_dim, stacked_dim_name='sample'
58+
):
5759
batch_dims = [d for d in ds.dims if d not in input_dims]
5860
if len(batch_dims) < 2:
5961
if squeeze_batch_dim:

0 commit comments

Comments
 (0)