diff --git a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py index 316f9632e5d128328b712a429118fe72a56040b8..47c7c5ff389216e7abb71f096cf54a26b34fc9d3 100644 --- a/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py +++ b/tangostationcontrol/tangostationcontrol/devices/base_device_classes/lofar_device.py @@ -470,7 +470,7 @@ class LOFARDevice(Device): attr = getattr(self, attribute) max_dim_x, max_dim_y = attr.get_max_dim_x(), attr.get_max_dim_y() - if max_dim_y > 1: + if max_dim_y > 0: # 2D array -> reshape 1D default # This is needed because Tango properties cannot be 2D, so we # cannot specify them in their actual shape.