Allow enahnced VFAT configuration updates with a RWM workflow (a.k.a. export-modify-import)
Description
The export-import feature developed in !58 (merged) gives the possibility to flatten any hierarchical VFAT configuration. With minimal refactoring, one should be able to parse any VFAT configuration in the gemos create-config vfat
command, which subsequently allows for long-awaited features (broadcast changes, bulk threshold bump,...)
Possible fixes
Improves the gemos create-config vfat
command with the following workflow:
- Parse (export) the input hierarchical VFAT configuration into a flat DataFrame
- Modify/adjust the flat configuration depending on the user's requirements
- This adds the possibility to implement changes that apply to all VFAT present in the current configuration (w.r.t. only VFAT present in the input files)
- Do not dynamically create VFAT for arbitrary scan, but instead have a dedicated option (using the VFAT mapping, VFAT calibration, and default configuration files)
- Process the options in the order specified by the user in order to allow for more advanced configuration updates
- Produce (import) configuration files based on the updated flat DataFrame
- Note that it is still desired to modify the input files, if present, to preserve comments