Hi Romain,
I observed the following behaviour:
When premise is done writing one scenario database or superstructure database, it exits unexpectedly and without any notice.
The last prints after ndb.write_superstructure_db_to_brightway() are:
Created database: SS_remindei3.10.1_update_all_SSP2_2025-2060_prv230_bw2io0812
Generate scenario report.
This is not very convenient as it cannot be incorporated into a longer script due to this silent exit.