spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Issue 2409 graph alternative filter #417

Closed PiispaH closed 5 days ago

PiispaH commented 4 weeks ago

Added method to check if an item is active in a certain scenario by taking the alternative ranks into account.

Re spine-tools/Spine-Toolbox#2409

Checklist before merging

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.23%. Comparing base (c630744) to head (f044d03). Report is 2 commits behind head on master.

Files Patch % Lines
spinedb_api/db_mapping.py 84.61% 0 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #417 +/- ## ======================================= Coverage 78.23% 78.23% ======================================= Files 72 72 Lines 9550 9563 +13 Branches 2039 2042 +3 ======================================= + Hits 7471 7482 +11 Misses 1741 1741 - Partials 338 340 +2 ```

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