Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix changing Importer's mapping type #197

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

soininen
Copy link
Contributor

@soininen soininen commented Apr 2, 2024

Importer was using legacy functionality in spinedb_api to get blank mappings when user changed the mapping type. This did not work e.g. with Entity group mappings since those did not exist in pre-0.7 world.

Fixes spine-tools/Spine-Toolbox#2662
spine-tools/Spine-Toolbox# (issue)

Checklist before merging

  • Unit tests have been added/updated accordingly
  • Code has been formatted by black
  • Unit tests pass

Importer was using legacy functionality in spinedb_api to get blank
mappings when user changes the mapping type. This does not work e.g.
with Entity group mappings since those did not exist in pre-0.7 world.

Re spine-tools/Spine-Toolbox#2662
Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.68%. Comparing base (7cf1886) to head (623f2fb).
Report is 1 commits behind head on 0.8-dev.

Additional details and impacted files
@@             Coverage Diff             @@
##           0.8-dev     #197      +/-   ##
===========================================
+ Coverage    61.63%   61.68%   +0.05%     
===========================================
  Files          190      190              
  Lines        17656    17656              
  Branches      2890     2890              
===========================================
+ Hits         10882    10891       +9     
+ Misses        6189     6183       -6     
+ Partials       585      582       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soininen soininen merged commit 5790f2b into 0.8-dev Apr 2, 2024
10 checks passed
@soininen soininen deleted the 2662_fix_importer_mapping_type_change branch April 2, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant