Skip to content

Add a Project to the projects list only if loading the Experiment was successful

Ammar Nejati requested to merge correct_loadExperiment into develop

Previously, even if loading the experiment from data-file failed, an Experiment instance was created (with an arbitrary 'half-initialized' state) and added to the projects list. This is now prevented by a two-stage method of creating a Project first, and then, adding it to the projects list, only if no errors occur.

Related to issue #262

Edited by Ammar Nejati

Merge request reports