Encode the list of microscope as a hardcode in smartem_backend initially, to be updated by hand, then look at better ways of doing it. This may be useful for authenticating smartem_agents (do we recognise this microscope) and potentially for /admin route in the f/e
This is the list:
- Krios 1 - m02
- Krios 2 - m03
- Talos - m04
- Scios - m05
- Krios 3 - m06
- Krios 4 - m07
- Krios 5 - m08
- Glacios 1 - m10
- Aquilos - m11
- Glacios 2 - m12
- Leica cryoCLEM - m14
the true source of truth is UAS which we don’t have programmatic access to. it’s the user administration system. it’s how users apply for beam time and see what is scheduled. uas.diamond.ac.uk. it’s separated from other systems so a bunch of the information in there ends up being mirrored in ISPyB (https://github.com/DiamondLightSource/ispyb-database) which is what we use as the source of truth for sessions and what instrument they’re booked on. Guilherme de Freitas may have ideas on how to get this list programatically.
Encode the list of microscope as a hardcode in smartem_backend initially, to be updated by hand, then look at better ways of doing it. This may be useful for authenticating smartem_agents (do we recognise this microscope) and potentially for
/adminroute in the f/eThis is the list:
the true source of truth is UAS which we don’t have programmatic access to. it’s the user administration system. it’s how users apply for beam time and see what is scheduled. uas.diamond.ac.uk. it’s separated from other systems so a bunch of the information in there ends up being mirrored in ISPyB (https://github.com/DiamondLightSource/ispyb-database) which is what we use as the source of truth for sessions and what instrument they’re booked on. Guilherme de Freitas may have ideas on how to get this list programatically.