gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
20 stars 5 forks source link

Reloading a batch experiment with a `permanent` section does not close the previous displays #199

Open AlexisDrogoul opened 4 months ago

AlexisDrogoul commented 4 months ago

Describe the bug Reloading a batch experiment with a permanent section does not close the previous displays described in this section.

To Reproduce Steps to reproduce the behavior:

  1. Go to the model named Exploration.gaml
  2. Run the experiment named exploration_with_sampling
  3. After some steps, reload the experiment
  4. See error: the previous is still open (but not active anymore)

Expected behavior That the previous display is closed (as it is the case in the Ant Foraging.gaml GUI experiment in 3 Simulations).

Screenshots

cp… 2024-06-05 14-17-44

Desktop (please complete the following information):

Additional context When adding an output section (with a blank display) the behaviour is a bit different: permanent are still duplicated, but they are now all active (and updated).