Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadpricing #62

Open
gac55 opened this issue Aug 22, 2022 · 0 comments · May be fixed by #63
Open

Roadpricing #62

gac55 opened this issue Aug 22, 2022 · 0 comments · May be fixed by #63

Comments

@gac55
Copy link
Collaborator

gac55 commented Aug 22, 2022

No support for configs with roadpricing

Traceback (most recent call last):
  File "/home/arup/mc/venv/bin/mc", line 33, in <module>
    sys.exit(load_entry_point('mc', 'console_scripts', 'mc')())
  File "/home/arup/mc/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/arup/mc/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/arup/mc/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/arup/mc/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/arup/mc/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/arup/mc/mc/cli.py", line 228, in difference
    config_a = Config(path=Path(read_path_a))
  File "/home/arup/mc/mc/build.py", line 17, in __init__
    super().__init__(path=path)
  File "/home/arup/mc/mc/base.py", line 389, in __init__
    self.build_from_xml(root)
  File "/home/arup/mc/mc/base.py", line 144, in build_from_xml
    self.modules[key] = Module(key, xml_object=sub_object)
  File "/home/arup/mc/mc/base.py", line 533, in __init__
    self.valid_param_keys = list(VALID_MAP['modules'][name].get('params', []))
KeyError: 'roadpricing'
@gac55 gac55 linked a pull request Aug 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant