Skip to content

Commit

Permalink
Fix i22 slits (#521)
Browse files Browse the repository at this point in the history
* These were added as fake by mistake
* Skip S4 for now as it has a different Epics interface

Fixes #520.
  • Loading branch information
joeshannon authored May 21, 2024
1 parent 729be13 commit 554f53e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/dodal/beamlines/i22.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def hfm(

def slits_1(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
1,
Expand All @@ -136,7 +136,7 @@ def slits_1(

def slits_2(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
2,
Expand All @@ -147,7 +147,7 @@ def slits_2(

def slits_3(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
3,
Expand All @@ -156,9 +156,10 @@ def slits_3(
)


@skip_device
def slits_4(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
4,
Expand All @@ -169,7 +170,7 @@ def slits_4(

def slits_5(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
5,
Expand All @@ -180,7 +181,7 @@ def slits_5(

def slits_6(
wait_for_connection: bool = True,
fake_with_ophyd_sim: bool = True,
fake_with_ophyd_sim: bool = False,
) -> Slits:
return numbered_slits(
6,
Expand Down

0 comments on commit 554f53e

Please sign in to comment.