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

Fix adding parameter definitions by entity class id #454

Closed soininen closed 1 month ago

soininen commented 1 month ago

This PR fixes a Traceback that would occur when parameter definitions were added using entity class id instead of name.

Fixes irena-flextool/flextool#228

Checklist before merging

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 79.13%. Comparing base (bd929d0) to head (2665daa). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #454 +/- ## ======================================= Coverage 79.13% 79.13% ======================================= Files 77 77 Lines 10096 10099 +3 Branches 2142 2142 ======================================= + Hits 7989 7992 +3 Misses 1756 1756 Partials 351 351 ```

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