Skip to content

Commit

Permalink
Update plan imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Sep 20, 2024
1 parent 2fe4a8b commit 019b6ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dodal/plans/scanspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def spec_scan(
yield from bp.scan_nd(detectors, _as_cycler(spec), md=_md)


def _as_cycler(spec: Spec[str]) -> Cycler:
def _as_cycler(spec: Spec[Movable]) -> Cycler:
"""
Convert a scanspec to a cycler for compatibility with legacy Bluesky plans such as
`bp.scan_nd`. Use the midpoints of the scanspec since cyclers are normally used
Expand Down
2 changes: 1 addition & 1 deletion tests/preprocessors/test_filesystem_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
LocalDirectoryServiceClient,
StaticVisitPathProvider,
)
from dodal.plans.data_session_metadata import (
from dodal.plan_stubs.data_session_metadata import (
DATA_SESSION,
attach_data_session_metadata_wrapper,
)
Expand Down

0 comments on commit 019b6ed

Please sign in to comment.