diff --git a/src/cr/cube/cube_slice.py b/src/cr/cube/cube_slice.py index 7e3e8f26e..8c7d891b9 100644 --- a/src/cr/cube/cube_slice.py +++ b/src/cr/cube/cube_slice.py @@ -93,8 +93,8 @@ def _update_args(self, kwargs): # (from the perspective of the cr.exporter) is to exclude the 0th # dimension's H&S in the case of 3D cubes. hs_dims_key = ( - 'transforms' - if 'transforms' in kwargs else + 'transforms' in kwargs and 'transforms' or + 'hs_dims' in kwargs and 'hs_dims' or 'include_transforms_for_dims' ) hs_dims = kwargs.get(hs_dims_key)