Skip to content

Commit

Permalink
Fix resource kwargs inconsistencies with nexus writer
Browse files Browse the repository at this point in the history
  • Loading branch information
callumforrester committed Jun 17, 2024
1 parent ff777c4 commit fd97f14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ophyd_async/panda/writers/_hdf_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def _update_datasets(self) -> None:

capture_table = await self.panda_device.data.datasets.get_value()
self._datasets = [
_HDFDataset(dataset_name, dataset_name, [1], multiplier=1)
_HDFDataset(dataset_name, "/" + dataset_name, [1], multiplier=1)
for dataset_name in capture_table["name"]
]

Expand Down
2 changes: 1 addition & 1 deletion src/ophyd_async/panda/writers/_panda_hdf_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(
data_key=ds.data_key,
resource_path=(f"{str(directory_info.root)}/{full_file_name}"),
resource_kwargs={
"internal_path": ds.internal_path,
"path": ds.internal_path,
"multiplier": ds.multiplier,
"timestamps": "/entry/instrument/NDAttributes/NDArrayTimeStamp",
},
Expand Down

0 comments on commit fd97f14

Please sign in to comment.