Skip to content

Commit 47d6f55

Browse files
committed
Remove xbpm1
1 parent e41fe91 commit 47d6f55

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

src/dodal/beamlines/i03.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ophyd_async.core import PathInfo, Reference
1+
from ophyd_async.core import Reference
22
from ophyd_async.fastcs.eiger import EigerDetector as FastEiger
33
from ophyd_async.fastcs.panda import HDFPanda
44
from yarl import URL
@@ -44,7 +44,6 @@
4444
from dodal.devices.scintillator import Scintillator
4545
from dodal.devices.smargon import Smargon
4646
from dodal.devices.synchrotron import Synchrotron
47-
from dodal.devices.tetramm import TetrammDetector
4847
from dodal.devices.thawer import Thawer
4948
from dodal.devices.undulator import UndulatorInKeV
5049
from dodal.devices.webcam import Webcam
@@ -424,21 +423,6 @@ def qbpm() -> QBPM:
424423
return QBPM(f"{PREFIX.beamline_prefix}-DI-QBPM-01:")
425424

426425

427-
@device_factory()
428-
def xbpm1() -> TetrammDetector:
429-
"""Get the i03 xbpm1 device, instantiate it if it hasn't already been.
430-
If this is called when already instantiated in i03, it will return the existing object.
431-
"""
432-
433-
def null_provider(device_name: str | None) -> PathInfo:
434-
raise RuntimeError("Saving to files for xbpm1 not supported")
435-
436-
return TetrammDetector(
437-
f"{PREFIX.beamline_prefix}-EA-XBPM-01:",
438-
path_provider=null_provider,
439-
)
440-
441-
442426
@device_factory()
443427
def baton() -> Baton:
444428
"""Get the i03 baton device, instantiate it if it hasn't already been.

0 commit comments

Comments
 (0)