Skip to content

C++: one unquoted string in key=value concore.params drops all params #687

Open

Description

@bhuvan-somisetty

in the c++ runtime, if concore.params is n=3;mode=fast, every param gets dropped because mode=fast isn't quoted. python gives {'n': 3, 'mode': 'fast'}, c++ tryparam just returns the defaults for both.

load_params in concore_base.hpp turns the string into dict text, parsedict throws on the bare word and the catch returns an empty map. quoted values and numbers are fine. same for concoredocker.hpp.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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