Skip to content

Commit 07c6fcb

Browse files
committed
ADAr dimensions returned as a tuple
1 parent 64c8c25 commit 07c6fcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

streaming_data_types/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Version is not directly defined in __init__ because that causes all
22
# run time dependencies to become build-time dependencies when it is
33
# imported in setup.py
4-
version = "0.23.0"
4+
version = "0.23.1"

streaming_data_types/area_detector_ADAr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def deserialise_ADAr(buffer: Union[bytearray, bytes]) -> ADArray:
201201
source_name=ad_array.SourceName().decode(),
202202
unique_id=unique_id,
203203
timestamp=datetime.fromtimestamp(used_timestamp, tz=timezone.utc),
204-
dimensions=ad_array.DimensionsAsNumpy(),
204+
dimensions=tuple(ad_array.DimensionsAsNumpy()),
205205
data=data,
206206
attributes=attributes_list,
207207
)

0 commit comments

Comments
 (0)