Skip to content

Commit

Permalink
DAQ-5039 working-ish state of p38
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Mar 18, 2024
1 parent 5ce6ac2 commit dd61471
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
]
description = "Lightweight Bluesky-as-a-service wrapper application. Also usable as a library."
dependencies = [
"bluesky",
"bluesky @ file://dls_sw/p38/software/blueapi/devices_only/bluesky",
"ophyd",
"nslsii",
"pyepics",
Expand All @@ -26,7 +26,7 @@ dependencies = [
"fastapi[all]<0.99",
"uvicorn",
"requests",
"dls_dodal @ git+https://github.com/DiamondLightSource/dodal.git@rebased_i22",
"dls_dodal @ file://dls_sw/p38/software/blueapi/devices_only/dodal",
"typing_extensions<4.6",
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion src/blueapi/core/bluesky_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Triggerable,
WritesExternalAssets,
)
from dls_bluesky_core.core import MsgGenerator, PlanGenerator
from dodal.common.types import MsgGenerator, PlanGenerator
from ophyd_async.core import Device as AsyncDevice
from pydantic import BaseModel, Field

Expand Down
8 changes: 4 additions & 4 deletions src/blueapi/startup/example_plans.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import List

from bluesky.plan_stubs import mv
from bluesky.plans import count
from bluesky.protocols import Movable, Readable
from dls_bluesky_core.core import inject
from dls_bluesky_core.plans import count
from dls_bluesky_core.stubs import move
from dodal.common import inject

from blueapi.core import MsgGenerator

Expand All @@ -27,5 +27,5 @@ def stp_snapshot(
Yields:
Iterator[MsgGenerator]: Bluesky messages
"""
yield from move({temperature: 0, pressure: 10**5})
yield from mv({temperature: 0, pressure: 10**5})
yield from count(detectors, 1)

0 comments on commit dd61471

Please sign in to comment.