Skip to content

Commit

Permalink
Apply dls device (#618)
Browse files Browse the repository at this point in the history
* add DLS as synchrotron device

* fix lint

* Update src/dodal/beamlines/i22.py

---------

Co-authored-by: DiamondJoseph <[email protected]>
  • Loading branch information
stan-dot and DiamondJoseph committed Jun 13, 2024
1 parent acb949d commit 0e15a5f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/dodal/beamlines/i22.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from dodal.devices.i22.fswitch import FSwitch
from dodal.devices.linkam3 import Linkam3
from dodal.devices.slits import Slits
from dodal.devices.synchrotron import Synchrotron
from dodal.devices.tetramm import TetrammDetector
from dodal.devices.undulator import Undulator
from dodal.log import set_beamline as set_log_beamline
Expand Down Expand Up @@ -54,6 +55,18 @@ def saxs(
)


def synchrotron(
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
) -> Synchrotron:
return device_instantiation(
Synchrotron,
"synchrotron",
"",
wait_for_connection,
fake_with_ophyd_sim,
)


def waxs(
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
) -> PilatusDetector:
Expand Down Expand Up @@ -312,6 +325,7 @@ def panda4(
)


@skip_device
def oav(
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
) -> AravisDetector:
Expand Down

0 comments on commit 0e15a5f

Please sign in to comment.