senaite.core
senaite.core copied to clipboard
Instrument import parser requires instrument configuration data
Context: Instruments are configurable. When an instrument interface is developed, it would useful for the parser to know how a specific instrument has been configured. Use file format as a simple example. The Chemstation can export results as CSV or XLSX. When a lab configures the instrument in senaite, then should be able to capture the file format config for that instrument.
Steps to reproduce
Configure 2 physical instruments of the same model differently Create 2 Instruments in Senaite for that model Import results from the 2 instruments
Current behavior
The parser has no way of knowing how the physical instrument was configured
Expected behavior
The parser can get the configuration details from a json dict on the instrument to decide how the results should be parsed.