Skip to content

Commit

Permalink
CLN: remove commented-out lines from event-model<1.21.0 API
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Jul 11, 2024
1 parent 588006e commit 734dbcf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 17 deletions.
3 changes: 0 additions & 3 deletions src/ophyd_async/epics/areadetector/writers/_hdffile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ def __init__(
compose_stream_resource(
mimetype="application/x-hdf5",
uri=f"file://localhost{full_file_name}",
# spec="AD_HDF5_SWMR_SLICE",
# root=str(path_info.root),
data_key=ds.name,
# resource_path=str(full_file_name.relative_to(path_info.root)),
parameters={
"path": ds.path,
"multiplier": ds.multiplier,
Expand Down
3 changes: 0 additions & 3 deletions src/ophyd_async/panda/writers/_panda_hdf_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ def __init__(
compose_stream_resource(
mimetype="application/x-hdf5",
uri=f"file://localhost{path_info.root / full_file_name}",
# spec="AD_HDF5_SWMR_SLICE",
# root=str(path_info.root),
data_key=ds.name,
# resource_path=(f"{str(path_info.root)}/{full_file_name}"),
parameters={
"name": ds.name,
"block": ds.block,
Expand Down
5 changes: 0 additions & 5 deletions src/ophyd_async/sim/pattern_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def _compose_bundles(
full_file_name: Path,
datasets: List[DatasetConfig],
) -> List[StreamAsset]:
# path = str(full_file_name.relative_to(path_info.root))
# root = str(path_info.root)
bundler_composer = ComposeStreamResource()

bundles: List[ComposeStreamResourceBundle] = []
Expand All @@ -84,9 +82,6 @@ def _compose_bundles(
bundler_composer(
mimetype="application/x-hdf5",
uri=f"file://{full_file_name}",
# spec=SLICE_NAME,
# root=root,
# resource_path=path,
data_key=d.name.replace("/", "_"),
parameters={
"path": d.path,
Expand Down
3 changes: 0 additions & 3 deletions tests/core/test_flyer.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ async def collect_stream_docs(
self._file = compose_stream_resource(
mimetype="application/x-hdf5",
uri="file://",
# spec="AD_HDF5_SWMR_SLICE",
# root="/",
data_key=self._name,
# resource_path="",
parameters={
"path": "",
"dataset": "",
Expand Down
3 changes: 0 additions & 3 deletions tests/plan_stubs/test_fly.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ async def collect_stream_docs(
self._file = compose_stream_resource(
mimetype="application/x-hdf5",
uri="file://",
# spec="AD_HDF5_SWMR_SLICE",
# root="/",
data_key=self._name,
# resource_path="",
parameters={
"path": "",
"swmr": False,
Expand Down

0 comments on commit 734dbcf

Please sign in to comment.