Skip to content
Snippets Groups Projects
Commit 5546bc13 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-882: Fix, use the right variable.

parent 99cc3039
No related branches found
No related tags found
1 merge request!4Added custom LofarDeviceProxy to enhance support for high-dimensional arrays in attribtues
......@@ -35,6 +35,6 @@ class LofarDeviceProxy(DeviceProxy):
# 2D arrays also represent arrays of higher dimensionality. reshape them
# to fit their original Tango shape before writing.
if config.max_dim_y > 0:
attr.value = attr.value.reshape((config.max_dim_y, config.max_dim_x))
value = value.reshape((config.max_dim_y, config.max_dim_x))
return super().write_attribute(name, value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment