Feature description
Currently, there's no functionality in PROTEUS to check that all config options are parsed+implemented correctly. I realised this could be a problem while working on PR #665.
For example, a user might write rayleigh_enabled=True in their config file and believe that they've enabled rayleigh scattering. However, the correct option is rayleigh=True. This could lead to substantial issues when running+interpreting simulation outputs.
This seems quite critical to address, in my opinion.
Preferred solution
Warn the user when TOML file contains variables which are not mapped in the config parser routine. This is separate to having unused optional variables, which are fine to include.
Relevant people
@timlichtenberg @egpbos @EmmaPostolec @planetmariana
Feature description
Currently, there's no functionality in PROTEUS to check that all config options are parsed+implemented correctly. I realised this could be a problem while working on PR #665.
For example, a user might write
rayleigh_enabled=Truein their config file and believe that they've enabled rayleigh scattering. However, the correct option is rayleigh=True. This could lead to substantial issues when running+interpreting simulation outputs.This seems quite critical to address, in my opinion.
Preferred solution
Warn the user when TOML file contains variables which are not mapped in the config parser routine. This is separate to having unused optional variables, which are fine to include.
Relevant people
@timlichtenberg @egpbos @EmmaPostolec @planetmariana