Skip to content

Warn on unused keys in the input #239

Open
@Luthaf

Description

@Luthaf

Because we use TOML as format for the input, the user can add keys that are not used by the input system now:

[input]
version = 1

[global]
cutoff = {shifted = "10 A"}
shift = true  # This is currently ignored by the code

[[pairs]]
atoms = ["C", "C"]
lj = {sigma = "3.7 A", epsilon = "0.2981 kcal/mol"}

We might want to send a warning for all these unused keys, as they might be typos that the user want to correct, or key we might want to use in a future revision of the input files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions