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

Prevent potential issues with undoing/redoing changes to loop conditions #2926

Closed soininen closed 2 months ago

soininen commented 2 months ago

A small fix potentially preventing a bug.

Re #2925

Checklist before merging

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 66.86%. Comparing base (47a949f) to head (56e774d). Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
spinetoolbox/project_commands.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2926 +/- ## ========================================== + Coverage 66.85% 66.86% +0.01% ========================================== Files 190 190 Lines 37027 37027 Branches 6355 6355 ========================================== + Hits 24755 24759 +4 + Misses 10951 10945 -6 - Partials 1321 1323 +2 ```

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