-
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
Read GAMS CPLEX solver options for MESSAGE from user config #557
Conversation
FYI @gidden @OFR-IIASA |
Codecov Report
@@ Coverage Diff @@
## main #557 +/- ##
=======================================
- Coverage 93.8% 92.5% -1.4%
=======================================
Files 40 41 +1
Lines 3057 3153 +96
=======================================
+ Hits 2870 2919 +49
- Misses 187 234 +47 |
Thanks @khaeru! Seems like the right solution. |
This is also affected by #559. |
So @LauWien if I understand the description at #566 (comment), then the issue in |
It looks like there were several regressions related to |
Yes, I think so. I ran the tests here now, and "only" the test test_tutorial[R_austria] is failing on ubuntu-latest so far. Lets see 🙈 :D |
Just a "time out" error.
|
A little weird as (1) it's occurring on all Python versions and (2) that R code isn't very complex. |
I still need to do these items, so will try them now and then see if the Jupyter R test still fails when I push again. |
It did. In 1bde1bf I added an exclusion, replacing an older one that is no longer necessary because we no longer test on Python 3.6. |
64b13f2
to
1bde1bf
Compare
If checks pass, please approve and merge using a merge commit. |
Will do :) Many thanks! |
Hm, the coverage will decrease by -1.4%. |
Codecov seems inconsistent, e.g. if we look here https://app.codecov.io/gh/iiasa/message_ix/branch/feature%2Fsolve-args-config —the number of missed lines is still 187, different from the comment above. Sometimes this takes a few seconds or minutes to get updated. |
@@ -144,6 +143,6 @@ jobs: | |||
run: make --directory=doc html | |||
|
|||
- name: Upload test coverage to Codecov.io | |||
uses: codecov/codecov-action@v1.2.1 | |||
uses: codecov/codecov-action@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LauWien the discrepancy might also be due to this update to a newer version of the Codecov action.
Compare
- https://app.codecov.io/gh/iiasa/message_ix/branch/main at the bottom, the code is in the directory "message_ix" (using the older version of the action)
- https://app.codecov.io/gh/iiasa/message_ix/branch/feature%2Fsolve-args-config at the bottom, we instead see "message_ix/message_ix" (using the newer version)
The difference of 47 lines corresponds to .testing.nightly
, so I think this might resolve itself at the next nightly test run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, I'll then merge!
This file adds a new recognized key,
"message model options"
, in the user configuration file (~/.local/share/ixmp/config.json or similar), that corresponds to passing options toScenario.solve(…)
(docs).So, for instance, with the following in config.json:
…then:
is updated to have the same effect as:
Also:
message model dir
does not work ixmp#415 fixed the issue underlying “message model dir” not working as described here.How to review
PR checklist
ixmp
) to address the FIXME in the added comment → Simplify & improve configuration ixmp#435.