-
Notifications
You must be signed in to change notification settings - Fork 157
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
Rename 'report' #761
Merged
Merged
Rename 'report' #761
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Also rename test modules. - Install DeprecatedPathFinder to support imports from old locations. - Adjust imports minimally so package can be imported and tests pass.
Silences all warnings internal to message_ix.
khaeru
force-pushed
the
enh/2023-W46
branch
2 times, most recently
from
November 17, 2023 16:07
b33c8f6
to
f037a03
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #761 +/- ##
=======================================
+ Coverage 94.3% 94.8% +0.4%
=======================================
Files 43 43
Lines 3474 3797 +323
=======================================
+ Hits 3279 3600 +321
- Misses 195 197 +2
|
- Reorder, expand rst_prolog. - Use local intersphinx inventories with helper function. - Add xarray to intersphinx mapping. - Add sphinx.ext.napoleon configuration.
…per model_core.gms.
- The class carries structural information about model items, with convenience methods for manipulating this. - Add MESSAGE.items class dict, replacing MESSAGE_ITEMS; derive the latter from the former.
- These two lists should be equivalent. - Resolve differences, defaulting to the GAMS inline docs: - relation=r —was not in _ABBREV. - rating=q —was previously r in _ABBREV. - land_scenario=s —previously this was shares in _ABBREV. - land_type=u —was not in _ABBREV. - shares —removed from _ABBREV. - Adjust {MESSAGE,MACRO}.items accordingly
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
- Import RENAME_DIMS through a function that provides backwards compatibility. - Use MESSAGE.items and MACRO.items; remove redefinitions. - Simplify simulate_qty() to accept a list of dimensions directly.
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
- Import RENAME_DIMS through a function that provides backwards compatibility. - Use MESSAGE.items and MACRO.items; remove redefinitions. - Simplify simulate_qty() to accept a list of dimensions directly.
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
- Import RENAME_DIMS through a function that provides backwards compatibility. - Use MESSAGE.items and MACRO.items; remove redefinitions. - Simplify simulate_qty() to accept a list of dimensions directly.
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
- Import RENAME_DIMS through a function that provides backwards compatibility. - Use MESSAGE.items and MACRO.items; remove redefinitions. - Simplify simulate_qty() to accept a list of dimensions directly.
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 22, 2023
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 23, 2023
- Import RENAME_DIMS through a function that provides backwards compatibility. - Use MESSAGE.items and MACRO.items; remove redefinitions. - Simplify simulate_qty() to accept a list of dimensions directly.
khaeru
added a commit
to iiasa/message-ix-models
that referenced
this pull request
Nov 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
message_ix.reporting
→message_ix.report
reporting.computations
→report.operator
.. automodule:: message_ix
for the top-level module; this allows other projects to link to:mod:'message_ix'
directly through intersphinx.How to review
PR checklist