From 0a1b6611f259296beadff955b94f3311ed2c9689 Mon Sep 17 00:00:00 2001 From: Jakub Wlodek Date: Thu, 29 Aug 2024 06:56:05 -0400 Subject: [PATCH] Fix typo in variable name (#545) --- src/ophyd_async/epics/adcore/_hdf_writer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ophyd_async/epics/adcore/_hdf_writer.py b/src/ophyd_async/epics/adcore/_hdf_writer.py index a58eec49e..484f19ab9 100644 --- a/src/ophyd_async/epics/adcore/_hdf_writer.py +++ b/src/ophyd_async/epics/adcore/_hdf_writer.py @@ -109,11 +109,11 @@ async def open(self, multiplier: int = 1) -> Dict[str, DataKey]: for child in root: datakey = child.attrib["name"] if child.attrib.get("type", "EPICS_PV") == "EPICS_PV": - np_datatye = convert_pv_dtype_to_np( + np_datatype = convert_pv_dtype_to_np( child.attrib.get("dbrtype", "DBR_NATIVE") ) else: - np_datatye = convert_param_dtype_to_np( + np_datatype = convert_param_dtype_to_np( child.attrib.get("datatype", "INT") ) self._datasets.append( @@ -121,7 +121,7 @@ async def open(self, multiplier: int = 1) -> Dict[str, DataKey]: datakey, f"/entry/instrument/NDAttributes/{datakey}", (), - np_datatye, + np_datatype, multiplier, ) )