Skip to content

Commit 39fc8b9

Browse files
Rename i03 and i04 smargon to gonio (#1908)
* Rename i03 smargon to gonio * Rename i04 smargon to gonio
1 parent aa40631 commit 39fc8b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/dodal/beamlines/i03.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ def pin_tip_detection() -> PinTipDetection:
203203
return PinTipDetection(f"{PREFIX.beamline_prefix}-DI-OAV-01:")
204204

205205

206-
@devices.factory()
206+
@devices.factory(use_factory_name=False)
207207
def smargon() -> Smargon:
208-
return Smargon(f"{PREFIX.beamline_prefix}-MO-SGON-01:")
208+
return Smargon(f"{PREFIX.beamline_prefix}-MO-SGON-01:", name="gonio")
209209

210210

211211
@devices.factory()

src/dodal/beamlines/i04.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
devices = DeviceManager()
7373

7474

75-
@devices.factory()
75+
@devices.factory(use_factory_name=False)
7676
def smargon() -> Smargon:
77-
return Smargon(f"{PREFIX.beamline_prefix}-MO-SGON-01:")
77+
return Smargon(f"{PREFIX.beamline_prefix}-MO-SGON-01:", name="gonio")
7878

7979

8080
@devices.factory()

0 commit comments

Comments
 (0)