Skip to content

Commit

Permalink
Use name provider instead of hdf name when calling path provider in a…
Browse files Browse the repository at this point in the history
…d HDF writer (#587)
  • Loading branch information
jwlodek authored Sep 19, 2024
1 parent 3412ac8 commit de084df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ophyd_async/epics/adcore/_hdf_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(

async def open(self, multiplier: int = 1) -> dict[str, DataKey]:
self._file = None
info = self._path_provider(device_name=self.hdf.name)
info = self._path_provider(device_name=self._name_provider())

# Set the directory creation depth first, since dir creation callback happens
# when directory path PV is processed.
Expand Down

0 comments on commit de084df

Please sign in to comment.