Skip to content

Ensure that all user-provided config options are meaningful and actioned #666

@nichollsh

Description

@nichollsh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    InterraIssue has been imported to the Interra Board projectPROTEUSPriority 2: highPriority level 2: high time criticality or importanceSoftwareRelating to software and implementationimport

    Projects

    Status

    Software & tests

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions