spine-tools / spine-items

Project items for Spine Toolbox.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
4 stars 4 forks source link

Fix View deserialization #163

Closed soininen closed 1 year ago

soininen commented 1 year ago

This PR fixes deserialization of View item.

See also spine-tools/Spine-Toolbox#2357 which fixes plotting in Toolbox side.

Fixes spine-tools/Spine-Toolbox#2356

Checklist before merging

codecov-commenter commented 1 year ago

Codecov Report

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

Comparison is base (7c8b289) 55.38% compared to head (2b4a0a3) 55.41%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.8-dev #163 +/- ## =========================================== + Coverage 55.38% 55.41% +0.03% =========================================== Files 192 192 Lines 17308 17317 +9 Branches 2833 2838 +5 =========================================== + Hits 9586 9597 +11 Misses 7197 7197 + Partials 525 523 -2 ``` | [Files](https://app.codecov.io/gh/spine-tools/spine-items/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools) | Coverage Δ | | |---|---|---| | [spine\_items/view/view.py](https://app.codecov.io/gh/spine-tools/spine-items/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools#diff-c3BpbmVfaXRlbXMvdmlldy92aWV3LnB5) | `32.92% <0.00%> (-0.74%)` | :arrow_down: | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/spine-tools/spine-items/pull/163/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spine-tools)

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