Skip to content

[FIX] Louvain Clustering: Do not invalidate output on PCA slider change with apply disabled#3339

Merged
lanzagar merged 1 commit intobiolab:masterfrom
pavlin-policar:louvain-pca-slider-fix
Nov 7, 2018
Merged

[FIX] Louvain Clustering: Do not invalidate output on PCA slider change with apply disabled#3339
lanzagar merged 1 commit intobiolab:masterfrom
pavlin-policar:louvain-pca-slider-fix

Conversation

@pavlin-policar
Copy link
Copy Markdown
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
if not self.apply_pca:
return

self.pca_projection = None
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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