-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Problem
Manual options are not always updated. So you can end up with MiRA options and WISARD selected.
This is related to the fact that options are not persisted, which may be by itself a problem.
Scenario
- Open OImaging
- Select MiRA software
- Observe that MiRA manual options have automatically been set
- Load an OI Fits file
- Observe that it set back to WISARD
- Observe that MiRA manual options are still here. Problem!
Problem Process
The manual options are reset when you explicitly changes software from the GUI selection list.
The manual options are not reset when you load an OI Fits file that changes the software. They are not reset when you click on "Load Result as Input" button that changes the software.
Proposal
What about persisting the options in the OI Fits file ? This way the loading will load these options and set them in the model and the GUI.
A smaller solution that do not implement persistence would be to always reset to default software values before loading. Meaning, when you ask to load a file that will change software to SPARCO, it would first apply default SPARCO keywords values and manual options.