diff --git a/Wrappers/Python/cil/framework/framework.py b/Wrappers/Python/cil/framework/framework.py index d4a5d0038a..5fae18a99c 100644 --- a/Wrappers/Python/cil/framework/framework.py +++ b/Wrappers/Python/cil/framework/framework.py @@ -3813,7 +3813,7 @@ def __init__(self, else: raise TypeError('array must be a CIL type DataContainer or numpy.ndarray got {}'.format(type(array))) - if numpy.squeeze(array).shape != geometry.shape: + if array.shape != geometry.shape: raise ValueError('Shape mismatch got {} expected {}'.format(array.shape, geometry.shape)) super(AcquisitionData, self).__init__(array, deep_copy, geometry=geometry,**kwargs)