diff --git a/src/ophyd_async/fastcs/panda/_table.py b/src/ophyd_async/fastcs/panda/_table.py index cb3c4ce1d..95036e552 100644 --- a/src/ophyd_async/fastcs/panda/_table.py +++ b/src/ophyd_async/fastcs/panda/_table.py @@ -13,7 +13,7 @@ class PandaHdf5DatasetType(StrictEnum): class DatasetTable(Table): name: Sequence[str] - hdf5_type: Sequence[PandaHdf5DatasetType] + dtype: Sequence[PandaHdf5DatasetType] class SeqTrigger(StrictEnum): diff --git a/tests/fastcs/panda/test_hdf_panda.py b/tests/fastcs/panda/test_hdf_panda.py index 4e609c63e..d5e22f43d 100644 --- a/tests/fastcs/panda/test_hdf_panda.py +++ b/tests/fastcs/panda/test_hdf_panda.py @@ -47,7 +47,7 @@ def check_dir_exits(value, **kwargs): mock_hdf_panda.data.datasets, DatasetTable( name=["x", "y"], - hdf5_type=[PandaHdf5DatasetType.UINT_32, PandaHdf5DatasetType.FLOAT_64], + dtype=[PandaHdf5DatasetType.UINT_32, PandaHdf5DatasetType.FLOAT_64], ), ) diff --git a/tests/fastcs/panda/test_writer.py b/tests/fastcs/panda/test_writer.py index 8dc7586df..b41b49955 100644 --- a/tests/fastcs/panda/test_writer.py +++ b/tests/fastcs/panda/test_writer.py @@ -27,11 +27,11 @@ TABLES = [ DatasetTable( name=[], - hdf5_type=[], + dtype=[], ), DatasetTable( name=["x"], - hdf5_type=[PandaHdf5DatasetType.UINT_32], + dtype=[PandaHdf5DatasetType.UINT_32], ), DatasetTable( name=[ @@ -40,7 +40,7 @@ "y_min", "y_max", ], - hdf5_type=[ + dtype=[ PandaHdf5DatasetType.UINT_32, PandaHdf5DatasetType.FLOAT_64, PandaHdf5DatasetType.FLOAT_64, @@ -82,7 +82,7 @@ def check_dir_exits(value, **kwargs): mock_panda.data.datasets, DatasetTable( name=[], - hdf5_type=[], + dtype=[], ), )