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] Louvain Clustering: Do not invalidate output on PCA slider change with apply disabled #3339

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

pavlin-policar
Copy link
Collaborator

Issue

Fixes #3334

Includes
  • Code changes
  • Tests
  • Documentation

@pavlin-policar pavlin-policar force-pushed the louvain-pca-slider-fix branch 2 times, most recently from 4c078ff to 139354e Compare October 28, 2018 07:47
@@ -135,6 +135,9 @@ def __init__(self):
) # type: QWidget

def _invalidate_pca_projection(self):
if not self.apply_pca:
return

self.pca_projection = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be moved before the check and early return. Right? Toggling the apply_pca will only invalidate the partial results starting with the graph.

Copy link
Collaborator Author

@pavlin-policar pavlin-policar Nov 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right! I've fixed it now.

@codecov
Copy link

codecov bot commented Nov 2, 2018

Codecov Report

Merging #3339 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3339      +/-   ##
==========================================
+ Coverage   82.21%   82.22%   +<.01%     
==========================================
  Files         351      351              
  Lines       62301    62345      +44     
==========================================
+ Hits        51219    51261      +42     
- Misses      11082    11084       +2

@lanzagar lanzagar added this to the 3.18 milestone Nov 7, 2018
@lanzagar lanzagar changed the title OWLouvain: Do not invalidate output on PCA slider changed when apply … [FIX] Louvain Clustering: Do not invalidate output on PCA slider change with apply disabled Nov 7, 2018
@lanzagar lanzagar merged commit a0deeed into biolab:master Nov 7, 2018
@pavlin-policar pavlin-policar deleted the louvain-pca-slider-fix branch November 7, 2018 11:49
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.

3 participants