DiamondLightSource / DiamondLightSource/crystallography-bluesky
i15-1: Make sure the centring plan can run in mock mode
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 21h 40m
- Merged PRs (30d)
- 8
Description
To test the full stack it would be useful if the `centre_plan` runs happily with all devices in mock.
Currently it errors with:
```
bluesky.utils.FailedStatus: .wait_with_error_message at 0x7fad8d630440>, errored: ValueError('0 is not a valid SoftInState')>
```
## Acceptance Criteria
- The `centre_plan` can be run with devices in mock
- There is a test for this
Contributor guide
Research direction
Start by running the `centre_plan` with all devices in mock mode and reproduce the `SoftInState` ValueError shown in the issue. Trace the mock-device path for `zebra-inputs-soft_in_1`, then add a test covering the plan; done means the plan runs successfully with mocked devices and the test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100