Skip to content

Manual Options are not updated by Loading #104

@buthanoid

Description

@buthanoid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions