Skip to content

Commit

Permalink
Update reference values for WB-datareader test (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Dec 29, 2023
1 parent bbab81f commit f4e8cbc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017-2023 IIASA and the pyam developer team
Copyright 2017-2024 IIASA and the pyam developer team

The **pyam** package is licensed under the Apache License, Version 2.0 (the "License");
you may not use the package except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ doi: [10.21105/joss.01095](https://doi.org/10.21105/joss.01095).
License
-------

Copyright 2017-2023 IIASA and the pyam developer team
Copyright 2017-2024 IIASA and the pyam developer team

The **pyam** package is licensed
under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion manuscripts/ORE/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# -- Project information -----------------------------------------------------

project = "pyam"
copyright = "2023 IIASA and the pyam developer team"
copyright = "2024 IIASA and the pyam developer team"
author = "Daniel Huppmann, Matthew Gidden, et al."


Expand Down
2 changes: 0 additions & 2 deletions pyam/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,6 @@ def require_data(
A dataframe of missing (combinations of) elements for all scenarios.
"""

# TODO: option to require values in certain ranges, see `_apply_criteria()`

# create mapping of required dimensions
required = {}
for dim, value in [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_datareader.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
WB_DF = pd.DataFrame(
[
["foo", "WDI", "Canada", "GDP", "n/a", 42793.1, 43704.4, 44680.8],
["foo", "WDI", "Mexico", "GDP", "n/a", 17262.3, 17693.0, 17846.0],
["foo", "WDI", "Mexico", "GDP", "n/a", 18634.9, 19017.8, 19144.0],
["foo", "WDI", "United States", "GDP", "n/a", 51569.8, 53035.7, 54395.4],
],
columns=IAMC_IDX + [2003, 2004, 2005],
Expand Down

0 comments on commit f4e8cbc

Please sign in to comment.