Skip to content

manipulateConfig.R does not warn if a supplied key is missing #100

Open
@mikapfl

Description

@mikapfl

Hi,

I'm not quite sure if this is a bug or intended behaviour: If I call manipulateConfig on an empty file, it will just be happy and not report any error or warning. This is a problem if there are typos in the config to be manipulated (or in my new config keys), or if I introduced a new config switch - both will just happily do nothing and report nothing for the affected keys.

Probably, we would get quite a lot of false positives if we added a warning at the moment because not all settings actually end up in main.gms in normal operation, but I think we should try to find a solution, silently doing the wrong thing / nothing is a bad response to a typo or missing definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions