PyPSA / linopy

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

Safe remove helper dims from coords #205

Closed FabianHofmann closed 8 months ago

FabianHofmann commented 8 months ago

expression: make sure helper dims are drop from coords model.add_constraints: make sure helper dims are drop from coords io: sort keys, fix import or multiindexed coord names

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e642a1f) 89.23% compared to head (649e3f0) 89.26%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #205 +/- ## ========================================== + Coverage 89.23% 89.26% +0.02% ========================================== Files 15 15 Lines 3343 3352 +9 Branches 768 772 +4 ========================================== + Hits 2983 2992 +9 Misses 248 248 Partials 112 112 ```

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