ScanInfo: Create back a "type" for devices
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
, whiledevices/{device_key}/metadata/type
=mca
- Lima2 controller:
devices/{device_key}/type
=lima2
, whiledevices/{device_key}/metadata/type
=lima
Edited by Valentin Valls