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

OG-USA might not be working because OG-Core v0.11.13 #119

Closed
rickecon opened this issue Jul 28, 2024 · 1 comment
Closed

OG-USA might not be working because OG-Core v0.11.13 #119

rickecon opened this issue Jul 28, 2024 · 1 comment

Comments

@rickecon
Copy link
Member

rickecon commented Jul 28, 2024

@jdebacker. I just recreated the conda environment ogusa-dev that included the new version of OG-Core (v0.11.13). I ran the run_og_usa.py file and got the following error. I got the same error in OG-ZAF (see this issue).

(ogusa-dev) richardevans@Richards-MacBook-Pro-2 examples % python run_og_usa.py
Number of workers =  7
Traceback (most recent call last):
  File "/Users/richardevans/Docs/Economics/OSE/OG-USA/examples/run_og_usa.py", line 194, in <module>
    main()
  File "/Users/richardevans/Docs/Economics/OSE/OG-USA/examples/run_og_usa.py", line 47, in main
    p.update_specifications(
  File "/opt/anaconda3/envs/ogusa-dev/lib/python3.11/site-packages/ogcore/parameters.py", line 440, in update_specifications
    self.adjust(revision, raise_errors=raise_errors)
  File "/opt/anaconda3/envs/ogusa-dev/lib/python3.11/site-packages/paramtools/parameters.py", line 257, in adjust
    return self._adjust(
           ^^^^^^^^^^^^^
  File "/opt/anaconda3/envs/ogusa-dev/lib/python3.11/site-packages/paramtools/parameters.py", line 375, in _adjust
    raise self.validation_error
paramtools.exceptions.ValidationError: {
    "errors": {
        "schema": [
            "Unknown field: AIME_num_years"
        ]
    }
}

@jdebacker
Copy link
Member

Resolved in PR #120

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

No branches or pull requests

2 participants