diff --git a/devices/util/attribute_wrapper.py b/devices/util/attribute_wrapper.py index d4584f01b78b22d0ee634d91963d2b80adcd29f4..37f7962b766aef6773289fced903a0c2c15db4f1 100644 --- a/devices/util/attribute_wrapper.py +++ b/devices/util/attribute_wrapper.py @@ -14,14 +14,14 @@ class attribute_wrapper(attribute): Wraps all the attributes in a wrapper class to manage most of the redundant code behind the scenes """ - def __init__(self, comms_annotation=None, datatype=None, dims=(1,), access=AttrWriteType.READ, init_value=None, **kwargs): + def __init__(self, comms_annotation=None, datatype=None, dims=None, access=AttrWriteType.READ, init_value=None, **kwargs): """ wraps around the tango Attribute class. Provides an easier interface for 1d or 2d arrays. Also provides a way to abstract managing the communications interface. comms_annotation: data passed along to the attribute. can be given any form of data. handling is up to client implementation datatype: any numpy datatype - dims: dimensions of the + dims: dimensions of the attribute as a tuple, or None for a scalar. init_value: value """