PyPSA / linopy

Linear optimization with N-D labeled arrays in Python
https://linopy.readthedocs.io
MIT License
155 stars 43 forks source link

IO: multiindeces and general fixes #202

Closed FabianHofmann closed 8 months ago

FabianHofmann commented 8 months ago
codecov[bot] commented 8 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (b437f93) 89.17% compared to head (2ac42c5) 89.23%. Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #202 +/- ## ========================================== + Coverage 89.17% 89.23% +0.05% ========================================== Files 15 15 Lines 3298 3343 +45 Branches 757 768 +11 ========================================== + Hits 2941 2983 +42 Misses 248 248 - Partials 109 112 +3 ``` | [Files](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA) | Coverage Δ | | |---|---|---| | [linopy/common.py](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L2NvbW1vbi5weQ==) | `92.50% <ø> (+0.83%)` | :arrow_up: | | [linopy/constraints.py](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L2NvbnN0cmFpbnRzLnB5) | `90.66% <100.00%> (-0.51%)` | :arrow_down: | | [linopy/expressions.py](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L2V4cHJlc3Npb25zLnB5) | `89.44% <100.00%> (-0.31%)` | :arrow_down: | | [linopy/testing.py](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L3Rlc3RpbmcucHk=) | `100.00% <100.00%> (ø)` | | | [linopy/io.py](https://app.codecov.io/gh/PyPSA/linopy/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA#diff-bGlub3B5L2lvLnB5) | `88.32% <95.12%> (+0.41%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/PyPSA/linopy/pull/202/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PyPSA)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.