Skip to content

Commit

Permalink
fix dcm i18 test
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Nov 11, 2024
1 parent ff5f15d commit 18147eb
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions src/dodal/beamlines/i18.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,18 @@ def xspress3_odin(
)


crystal_1_metadata = (
CrystalMetadata(
usage="Bragg",
type="silicon",
reflection=(1, 1, 1),
d_spacing=(3.13475, "nm"),
),
crystal_1_metadata = CrystalMetadata(
usage="Bragg",
type="silicon",
reflection=(1, 1, 1),
d_spacing=(3.13475, "nm"),
)
crystal_2_metadata = (
CrystalMetadata(
usage="Bragg",
type="silicon",
reflection=(1, 1, 1),
d_spacing=(3.13475, "nm"),
),

crystal_2_metadata = CrystalMetadata(
usage="Bragg",
type="silicon",
reflection=(1, 1, 1),
d_spacing=(3.13475, "nm"),
)


Expand All @@ -159,11 +156,10 @@ def dcm(
return device_instantiation(
DoubleCrystalMonochromator,
"dcm",
"",
f"{BeamlinePrefix(BL).beamline_prefix}-MO-DCM-01:",
wait_for_connection,
fake_with_ophyd_sim,
bl_prefix=False,
motion_prefix=f"{BeamlinePrefix(BL).beamline_prefix}-MO-DCM-01:",
temperature_prefix=f"{BeamlinePrefix(BL).beamline_prefix}-DI-DCM-01:",
crystal_1_metadata=crystal_1_metadata,
crystal_2_metadata=crystal_2_metadata,
Expand Down

0 comments on commit 18147eb

Please sign in to comment.