bluesky / databroker

Unified API pulling data from multiple sources
https://blueskyproject.io/databroker
BSD 3-Clause "New" or "Revised" License
33 stars 45 forks source link

Define validate shape of descriptor #788

Closed jmaruland closed 9 months ago

jmaruland commented 9 months ago

This PR helps solve an issue seen at the SRX beamline and could be encounter in other beamlines possibly. Initially, it was noticed that the adapter was failing because the hardware was passing incomplete rows of data with inconsistent shapes. This PR adds the option to select a validator that evaluate the correct shape of the data being passed to the adpater