populse / populse_mia

Multiparametric Image Analysis
Other
10 stars 9 forks source link

[General needs] Reset things properly when we cancel a calculation just after initalisation #317

Closed servoz closed 11 months ago

servoz commented 11 months ago

After successful initialisation, the user observes the ConnectionDialogGUI.

Screenshot from 2023-09-06 14-40-19

If the user then decides to abort the calculation (by clicking on the Cancel button), the calculation does not take place, but the run_pipeline_action Screenshot from 2023-09-06 14-49-33 and garbage_collect_action Screenshot from 2023-09-06 14-50-26 are disabled in the Pipeline Manager.

This should make it possible to launch a new execution, or even to clean up the database (especially as an initialisation has just been successful, and documents without data have therefore been indexed).

These two buttons should be available at this time, we need to reset things properly in this case.