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

Add support for entity alternatives into Importer #215

Closed soininen closed 2 months ago

soininen commented 2 months ago

With this PR, it is possible to import entity alternatives using Importer.

Resolves spine-tools/Spine-Toolbox#2748

Checklist before merging

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 78.28571% with 38 lines in your changes missing coverage. Please review.

Project coverage is 62.38%. Comparing base (93e1bce) to head (e8aa5f9).

Files Patch % Lines
spine_items/importer/mvcmodels/mappings_model.py 14.28% 12 Missing :warning:
spine_items/importer/flattened_mappings.py 81.13% 6 Missing and 4 partials :warning:
spine_items/importer/commands.py 30.76% 9 Missing :warning:
...e_items/importer/widgets/import_mapping_options.py 50.00% 6 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #215 +/- ## ========================================== + Coverage 62.33% 62.38% +0.04% ========================================== Files 168 168 Lines 17750 17832 +82 Branches 2955 2979 +24 ========================================== + Hits 11064 11124 +60 - Misses 6080 6103 +23 + Partials 606 605 -1 ```

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