spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
73 stars 18 forks source link

Fix Traceback after purging data from Data store properties #2992

Closed soininen closed 3 weeks ago

soininen commented 3 weeks ago

The previous fix to #2742 did not actually work at all. This PR should fix the Traceback for good.

Fixes #2742

Checklist before merging

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 67.12%. Comparing base (f8ea1db) to head (343a469). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2992 +/- ## ========================================== + Coverage 67.11% 67.12% +0.01% ========================================== Files 190 190 Lines 37083 37081 -2 Branches 4446 4446 ========================================== + Hits 24888 24891 +3 + Misses 10935 10932 -3 + Partials 1260 1258 -2 ```

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