Skip to content

Save settings in the simulation tab or disable manual changes of settings that are read from file #142

@CSchoel

Description

@CSchoel

Again we have an error-prone workflow here: When a model contains an experiment() annotation, this annotation is read each time when we switch to the simulation tab. On the one hand, this is desirable behavior since changes in the annotation are reflected in the settings of the tool. On the other hand, when the user does want to change the settings manually, they may want to go back to the model, change some other parameters, and then will not expect that their changes to, e.g. stepSize have disappeared.

I see two possible solutions to this problem:

  1. Deactivate the UI-elements for experiment parameters that have been read from the model file.
  2. Only read the parameters from file the first time the simulation tab is brought up in a session. Afterwards, respect the choices made by the user in the UI elements.

I think I prefer option 1, but a case for 2 can also be made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersuiUser Interface/frontend related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions