Skip to content

Commit

Permalink
Fix typo in variable name (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlodek committed Aug 29, 2024
1 parent 025bc54 commit 0a1b661
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ophyd_async/epics/adcore/_hdf_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ 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(
HDFDataset(
datakey,
f"/entry/instrument/NDAttributes/{datakey}",
(),
np_datatye,
np_datatype,
multiplier,
)
)
Expand Down

0 comments on commit 0a1b661

Please sign in to comment.