Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Dodal 601 convert smargon to ophyd async #1469

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

rtuck99
Copy link
Contributor

@rtuck99 rtuck99 commented Jul 2, 2024

Fixes DiamondLightSource/dodal#601

Link to dodal PR (if required): DiamondLightSource/dodal#656
(remember to update setup.cfg with the dodal commit tag if you need it for tests to pass!)

To test:

  1. Tests pass
  2. Plans continue operating

@rtuck99 rtuck99 marked this pull request as ready for review July 2, 2024 14:24
@rtuck99 rtuck99 requested review from d-perl and olliesilvester July 2, 2024 14:24
Copy link
Contributor

@d-perl d-perl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

setup.cfg Outdated
@@ -46,7 +46,7 @@ install_requires =
ophyd-async >= 0.3a5
bluesky >= 1.13.0a3
blueapi >= 0.4.3-rc1
dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@a9a116d289abc9e67ce8db08f978ff502705b464
dls-dodal @ git+https://github.com/DiamondLightSource/dodal.git@097b332f4a8ef3f1952110331e3ba97a0717bf0c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can clear this if you merge the dodal change first

Comment on lines +18 to +25
yield from bps.mv(
smargon.x,
position[0],
smargon.y,
position[1],
smargon.z,
position[2],
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
yield from bps.mv(
smargon.x,
position[0],
smargon.y,
position[1],
smargon.z,
position[2],
)
yield from bps.mv(
*(smargon.x, position[0]),
*(smargon.y, position[1]),
*(smargon.z, position[2]),
)

@rtuck99 rtuck99 force-pushed the dodal_601_convert_smargon_to_ophyd_async branch from fd2c964 to c47bf42 Compare July 8, 2024 14:28
@rtuck99 rtuck99 merged commit 5067884 into main Jul 8, 2024
4 checks passed
@rtuck99 rtuck99 deleted the dodal_601_convert_smargon_to_ophyd_async branch July 8, 2024 14:32
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this pull request Aug 23, 2024
…#1469)

* (DiamondLightSource/dodalDiamondLightSource/hyperion#601) Fix broken unit tests as a result of dodal changes

* Bump dodal commit hash
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert smargon to ophyd_async
2 participants