Closed khaeru closed 6 months ago
@glatterf42 FYI. I'll request your review once the checklist is complete.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
41f8a96
) 98.9% compared to head (36b6c16
) 98.9%.
This PR provides the basic functionality for addressing iiasa/message_ix#747.
The GAMSModel class gains an attribute/parameter (
record_version_packages
) and a method (record_versions()
); the latter is called from within therun()
method. This adds a set to the Scenario that is to be solved, with entries like:(The list of included packages is according to
record_version_packages
, so can be extended by downstream packages, likemessage-ix
, that use or subclass GAMSModel.)How to review
Read the diff and note that the CI checks all pass.
Test together with a message_ix PR to be opened next.
PR checklist