Skip to content

Commit

Permalink
Merge pull request #605 from ISISComputingGroup/fix_refl_tests
Browse files Browse the repository at this point in the history
Fix refl tests
  • Loading branch information
FreddieAkeroyd authored Aug 4, 2023
2 parents 9acaa4b + f50dfbc commit 5a3f56f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_config/good_for_refl/refl/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def get_beamline(macros):
add_parameter(AxisParameter("SMAngle", sm_comp, ChangeAxis.ANGLE), [polarised])
add_parameter(InBeamParameter("SMInBeam", sm_comp), modes=[nr, polarised], mode_inits=[(polarised, True)])
add_driver(
IocDriver(sm_comp, ChangeAxis.POSITION, MotorPVWrapper("MOT:MTR0107"), out_of_beam_positions=[SM_OUT_POS]))
add_driver(IocDriver(sm_comp, ChangeAxis.ANGLE, MotorPVWrapper("MOT:MTR0208")))
IocDriver(sm_comp, ChangeAxis.POSITION, MotorPVWrapper("MOT:MTR0107"), out_of_beam_positions=[SM_OUT_POS], synchronised=False))
add_driver(IocDriver(sm_comp, ChangeAxis.ANGLE, MotorPVWrapper("MOT:MTR0208"), synchronised=False))

# THETA
theta = add_component(ThetaComponent("ThetaComp", PositionAndAngle(0.0, 2 * SPACING, 90)))
Expand Down
2 changes: 2 additions & 0 deletions tests/refl.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
"GALILCONFIGDIR": test_config_path.replace("\\", "/"),
},
"inits": {
"MTR0208.VMAX": INITIAL_VELOCITY,
"MTR0208.VELO": INITIAL_VELOCITY,
"MTR0208.ERES": 0.001,
"MTR0208.MRES": 0.001
},
Expand Down

0 comments on commit 5a3f56f

Please sign in to comment.