You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some devices produce bluesky documents in unpredictable order #1499
I have three tests where I run a scan with these devices like RE(bp.scan([device], sim_motor_2, -10, 10, sim_motor_3, -5, 5, num=3)) and check the event documents.
I would expect that in all three cases, the keys of the resulting event document data will be in the same order.
Instead, the tests for device 1 and device 2 produce one event doc with the motors at the beginning and then additional event docs with the motors at the end. This causes an exception when writing to Tiled because Tiled tries to merge two tables with mis-matched keys.
I'm not convinced that this is an ophyd-async problem because device.read() produces the same key order. However I'm struggling to produce a MWE to even work on because the test for device 3 does not produce this behavior and the test passes.
Activity
canismarko commentedon Nov 12, 2026
Nevermind, the difference is that the test device didn't actually include any signals as readables. =P