Skip to content

ScanInfo: Create back a "type" for devices

Valentin Valls requested to merge type-for-devices into master

Related to !5745 (merged) as an attempt to normalize part of the scan info.

There was previously a type for some devices stored in the scan info.

It was moved from devices/{device_key}/type devices/{device_key}/metadata/type to be stored in the HDF5 automatically.

This field is actually used by post processing.

I need a type to be controller specific (as it was designed originally), to be able to adapt Flint to controller feature specifics, while the writer expect the type to be generic.

So finally, there is need to have 2 different types.

As result:

  • For Mca and Lima controllers this types are the same
  • Mosca controller: devices/{device_key}/type = mosca, while devices/{device_key}/metadata/type = mca
  • Lima2 controller: devices/{device_key}/type = lima2, while devices/{device_key}/metadata/type = lima
Edited by Valentin Valls

Merge request reports