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] Choropleth: Store selection by region ids, not indices #168

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

janezd
Copy link
Collaborator

@janezd janezd commented Feb 23, 2023

Issue

Fixes #163.

Description of changes

Widget now stores selection by region ids, not indices. When selection is restored, missing region ids are ignored.

Includes
  • Code changes
  • Tests

@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #168 (d3b8a91) into master (6247c5d) will decrease coverage by 0.20%.
The diff coverage is 80.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #168      +/-   ##
==========================================
- Coverage   84.73%   84.53%   -0.20%     
==========================================
  Files          10       10              
  Lines        1893     1908      +15     
  Branches      272      278       +6     
==========================================
+ Hits         1604     1613       +9     
- Misses        226      228       +2     
- Partials       63       67       +4     

@VesnaT VesnaT merged commit 4e72ff9 into biolab:master Feb 24, 2023
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.

Choropleth does not reset selection
2 participants