-
Notifications
You must be signed in to change notification settings - Fork 161
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
Use np.isscalar; improve contributing.rst #493
Merged
Merged
+64
−22
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
Codecov Report
@@ Coverage Diff @@
## main #493 +/- ##
=====================================
Coverage 93.4% 93.4%
=====================================
Files 38 38
Lines 2852 2853 +1
=====================================
+ Hits 2665 2666 +1
Misses 187 187
|
LauWien
approved these changes
Jul 19, 2021
awais307
added a commit
to awais307/message_ix
that referenced
this pull request
Aug 24, 2021
commit 900a9f8 Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Mon Aug 23 14:56:33 2021 +0200 Update documentation "Common issues" (iiasa#500) commit 38461e6 Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Fri Aug 20 16:04:17 2021 +0200 Update installation documentation using Anaconda (iiasa#501) * Update installation documentation using Anaconda * Update conda CI checks accordingly commit a4ae7ff Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Wed Aug 18 14:09:31 2021 +0200 Tutorial explaining historical parameters (iiasa#478) * Add tutorial for historical parameters * Update README * Update release notes commit 65b0767 Author: Laura Wienpahl <laura@wienpahl.de> Date: Tue Aug 17 14:04:04 2021 +0200 Update release notes commit 44c43d8 Author: Laura Wienpahl <laura@wienpahl.de> Date: Tue Aug 17 13:20:55 2021 +0200 Adjust test suite for pyam v1.1.0 compatibility commit f94304c Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Tue Jul 20 10:23:28 2021 +0200 Adjust objective values for nightly test scenarios (iiasa#495) commit 6d19561 Merge: 6bf19c3 4eaef6f Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Mon Jul 19 16:05:54 2021 +0200 Merge pull request iiasa#493 from iiasa/misc-2021-W28 Use np.isscalar; improve contributing.rst commit 4eaef6f Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Sun Jul 18 15:40:09 2021 +0200 Update doc/contributing.rst commit 85d9cb7 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Sun Jul 18 15:20:57 2021 +0200 Use np.isscalar(), not deprecated ixmp.utils.isscalar commit 6bf19c3 Merge: 164cb4e ba4254b Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Tue Jul 13 15:54:05 2021 +0200 Merge pull request iiasa#474 from volker-krey/soft_constraints_clean Adjust reference new capacity and activity for soft constraints commit ba4254b Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 09:03:29 2021 +0200 Update RELEASE_NOTES.rst commit 7a87538 Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 09:00:49 2021 +0200 Update RELEASE_NOTES.rst commit 440d78c Merge: 5fc853c 164cb4e Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 08:45:53 2021 +0200 Merge branch 'main' into soft_constraints_clean commit 164cb4e Merge: 19eff0f 8849073 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Fri Jul 9 12:35:54 2021 +0200 Merge pull request iiasa#491 from OFR-IIASA/year_active_fix Ensure `years_active()` uses sorted results commit 8849073 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jul 9 08:20:26 2021 +0200 Update release notes based on review comment commit 73e3c9c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 12:07:21 2021 +0200 Apply black formatting commit 9fd6303 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 12:05:50 2021 +0200 Add iiasa#491 to release notes commit f16b397 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 11:55:08 2021 +0200 Modify years_active function to use sorted results commit 1889ba2 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 11:53:43 2021 +0200 Add test to ensure years_active uses sorted results commit 19eff0f Merge: 56611ad 2df44f8 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 15:13:00 2021 +0200 Merge pull request iiasa#492 from iiasa/hotfix/genno-1.5.1 Adjust for genno 1.6, pyam 1.0 commit 2df44f8 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 14:08:11 2021 +0200 Add iiasa#492 to release notes commit a65f1e3 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 13:03:31 2021 +0200 Adjust use of pyam.IamDataFrame.line_plot() → plot() Former name was removed in pyam 1.0 commit 8d9ac4d Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 12:43:33 2021 +0200 Git ignore prof/ directory (pytest-profiling) commit 136add2 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jul 6 16:32:01 2021 +0200 Correct a format string in .reporting.computations.plot_cumulative() commit e96819c Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jul 6 10:53:39 2021 +0200 Adjust test_reporter_from_scenario() for genno 1.5 Use "in rep" not "in rep.graph" for more flexible __contains__. commit 5fc853c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jun 18 08:43:57 2021 +0200 Descriptions corrected commit 6d7f44c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jun 18 08:41:15 2021 +0200 Adjusted documentation of revised formulations commit 11e8bd4 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 15:27:23 2021 +0200 Updated tutorial syntax commit c15e1ae Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 14:56:42 2021 +0200 Update tutorial descriptions commit 3e8d9b6 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 14:56:10 2021 +0200 Added tests for soft constraints commit 339f727 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 11:19:55 2021 +0200 Added tutorial for soft constraints commit 66fdef7 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jun 14 12:46:46 2021 +0200 Updated release notes commit ff37498 Author: Oliver FRICKO <fricko@iiasa.ac.at> Date: Fri Aug 28 16:19:54 2020 +0200 adjusted the year to check for active technology for soft constraints commit ecd00d5 Author: Oliver FRICKO <fricko@iiasa.ac.at> Date: Fri Aug 28 11:16:01 2020 +0200 corrections made to GAMS code commit d86ed88 Author: Volker Krey <krey@iiasa.ac.at> Date: Thu Aug 27 14:37:52 2020 +0200 adjustment of reference new capacity and activity for soft constraints additional growth in soft constraints of new capacity and activity is now based on previous periods new capacity and activity, respectively, as for the regular growth constraints commit 56611ad Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jun 15 10:46:05 2021 +0200 Also install 3rd party type stubs in 'lint' CI workflow
awais307
added a commit
to awais307/message_ix
that referenced
this pull request
Aug 1, 2022
commit 900a9f8 Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Mon Aug 23 14:56:33 2021 +0200 Update documentation "Common issues" (iiasa#500) commit 38461e6 Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Fri Aug 20 16:04:17 2021 +0200 Update installation documentation using Anaconda (iiasa#501) * Update installation documentation using Anaconda * Update conda CI checks accordingly commit a4ae7ff Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Wed Aug 18 14:09:31 2021 +0200 Tutorial explaining historical parameters (iiasa#478) * Add tutorial for historical parameters * Update README * Update release notes commit 65b0767 Author: Laura Wienpahl <laura@wienpahl.de> Date: Tue Aug 17 14:04:04 2021 +0200 Update release notes commit 44c43d8 Author: Laura Wienpahl <laura@wienpahl.de> Date: Tue Aug 17 13:20:55 2021 +0200 Adjust test suite for pyam v1.1.0 compatibility commit f94304c Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Tue Jul 20 10:23:28 2021 +0200 Adjust objective values for nightly test scenarios (iiasa#495) commit 6d19561 Merge: 6bf19c3 4eaef6f Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Mon Jul 19 16:05:54 2021 +0200 Merge pull request iiasa#493 from iiasa/misc-2021-W28 Use np.isscalar; improve contributing.rst commit 4eaef6f Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Sun Jul 18 15:40:09 2021 +0200 Update doc/contributing.rst commit 85d9cb7 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Sun Jul 18 15:20:57 2021 +0200 Use np.isscalar(), not deprecated ixmp.utils.isscalar commit 6bf19c3 Merge: 164cb4e ba4254b Author: Laura Wienpahl <57132039+LauWien@users.noreply.github.com> Date: Tue Jul 13 15:54:05 2021 +0200 Merge pull request iiasa#474 from volker-krey/soft_constraints_clean Adjust reference new capacity and activity for soft constraints commit ba4254b Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 09:03:29 2021 +0200 Update RELEASE_NOTES.rst commit 7a87538 Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 09:00:49 2021 +0200 Update RELEASE_NOTES.rst commit 440d78c Merge: 5fc853c 164cb4e Author: OFR-IIASA <fricko@iiasa.ac.at> Date: Tue Jul 13 08:45:53 2021 +0200 Merge branch 'main' into soft_constraints_clean commit 164cb4e Merge: 19eff0f 8849073 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Fri Jul 9 12:35:54 2021 +0200 Merge pull request iiasa#491 from OFR-IIASA/year_active_fix Ensure `years_active()` uses sorted results commit 8849073 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jul 9 08:20:26 2021 +0200 Update release notes based on review comment commit 73e3c9c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 12:07:21 2021 +0200 Apply black formatting commit 9fd6303 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 12:05:50 2021 +0200 Add iiasa#491 to release notes commit f16b397 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 11:55:08 2021 +0200 Modify years_active function to use sorted results commit 1889ba2 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jul 5 11:53:43 2021 +0200 Add test to ensure years_active uses sorted results commit 19eff0f Merge: 56611ad 2df44f8 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 15:13:00 2021 +0200 Merge pull request iiasa#492 from iiasa/hotfix/genno-1.5.1 Adjust for genno 1.6, pyam 1.0 commit 2df44f8 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 14:08:11 2021 +0200 Add iiasa#492 to release notes commit a65f1e3 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 13:03:31 2021 +0200 Adjust use of pyam.IamDataFrame.line_plot() → plot() Former name was removed in pyam 1.0 commit 8d9ac4d Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Wed Jul 7 12:43:33 2021 +0200 Git ignore prof/ directory (pytest-profiling) commit 136add2 Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jul 6 16:32:01 2021 +0200 Correct a format string in .reporting.computations.plot_cumulative() commit e96819c Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jul 6 10:53:39 2021 +0200 Adjust test_reporter_from_scenario() for genno 1.5 Use "in rep" not "in rep.graph" for more flexible __contains__. commit 5fc853c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jun 18 08:43:57 2021 +0200 Descriptions corrected commit 6d7f44c Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Fri Jun 18 08:41:15 2021 +0200 Adjusted documentation of revised formulations commit 11e8bd4 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 15:27:23 2021 +0200 Updated tutorial syntax commit c15e1ae Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 14:56:42 2021 +0200 Update tutorial descriptions commit 3e8d9b6 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 14:56:10 2021 +0200 Added tests for soft constraints commit 339f727 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Tue Jun 15 11:19:55 2021 +0200 Added tutorial for soft constraints commit 66fdef7 Author: FRICKO Oliver <fricko@iiasa.ac.at> Date: Mon Jun 14 12:46:46 2021 +0200 Updated release notes commit ff37498 Author: Oliver FRICKO <fricko@iiasa.ac.at> Date: Fri Aug 28 16:19:54 2020 +0200 adjusted the year to check for active technology for soft constraints commit ecd00d5 Author: Oliver FRICKO <fricko@iiasa.ac.at> Date: Fri Aug 28 11:16:01 2020 +0200 corrections made to GAMS code commit d86ed88 Author: Volker Krey <krey@iiasa.ac.at> Date: Thu Aug 27 14:37:52 2020 +0200 adjustment of reference new capacity and activity for soft constraints additional growth in soft constraints of new capacity and activity is now based on previous periods new capacity and activity, respectively, as for the regular growth constraints commit 56611ad Author: Paul Natsuo Kishimoto <mail@paul.kishimoto.name> Date: Tue Jun 15 10:46:05 2021 +0200 Also install 3rd party type stubs in 'lint' CI workflow
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.
This PR adjusts to avoid use of
ixmp.utils.isscalar
, deprecated in iiasa/ixmp#422.How to review
PR checklist
Add, expand, or update documentation.N/A; internals, no user-facing change.Update release notes.N/A