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

[ENH] Neighbours - Sort resulting instances in order according to distance #6425

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

PrimozGodec
Copy link
Contributor

Issue

The resulting instances in the Neighbour widget are in the original order. It would be better to sort them according to distance.

Description of changes

Sort neighbours according to distance in ascending order.

Includes
  • Code changes
  • Tests
  • Documentation

@PrimozGodec PrimozGodec marked this pull request as ready for review April 24, 2023 14:28
@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #6425 (8bbf987) into master (7c28d74) will decrease coverage by 0.01%.
The diff coverage is 73.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6425      +/-   ##
==========================================
- Coverage   87.65%   87.64%   -0.01%     
==========================================
  Files         321      321              
  Lines       69148    69158      +10     
==========================================
+ Hits        60610    60614       +4     
- Misses       8538     8544       +6     

@janezd janezd self-assigned this Apr 28, 2023
@janezd janezd merged commit 9009f53 into biolab:master Apr 28, 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.

2 participants