From 77945d61fa3f952374718e7297753b5b9694c98e Mon Sep 17 00:00:00 2001 From: Slobodan Ilic Date: Thu, 12 Jul 2018 08:47:06 +0200 Subject: [PATCH] [#158955812]: Add extra keyword for H&S dimensions --- src/cr/cube/cube_slice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)