Double end issue while reading the file
The double end issue remain and we need a workaround because if you comment # a section name you can switch on/off this section completely.
In the file attached, the potentiel 5 is switched off and then pylenstool_model.par will have a double end before potfile and then no potfile will be taken into account.