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

VizRank: Reimplementation #6661

Merged
merged 4 commits into from
Dec 14, 2023
Merged

VizRank: Reimplementation #6661

merged 4 commits into from
Dec 14, 2023

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Dec 1, 2023

Issue

Fixes #6504. Also fixes #6624.

#6614 would fixed the above problems, but poking the VizRank code that didn't age well introduced new bugs, and testing exposed some existing bugs.

This PR implements a new, cleaner and leaner VizRank.

Includes
  • Code changes
  • Tests
  • Documentation

@janezd janezd force-pushed the vizrank-2.0 branch 2 times, most recently from e8f13f7 to bfa96db Compare December 1, 2023 21:49
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Merging #6661 (2ddbea9) into master (ef3465d) will decrease coverage by 0.02%.
The diff coverage is 94.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6661      +/-   ##
==========================================
- Coverage   88.10%   88.09%   -0.02%     
==========================================
  Files         321      322       +1     
  Lines       69950    70096     +146     
==========================================
+ Hits        61631    61751     +120     
- Misses       8319     8345      +26     

@VesnaT
Copy link
Contributor

VesnaT commented Dec 8, 2023

Mosaic

  • rename Vizrank dialog to Score Plots (for consistency)
  • select the first row when computation finishes
  • progress > 100%
    image
  • the orange lines are missing on the top rows
    image

Sieve

  • select the first row when computation finishes

Linear Projection

  • select the first row when computation finishes
  • progress > 100%

Radviz

  • select the first row when computation finishes
  • progress > 100%
  • used to show scores

Scatter Plot

  • select the first row when computation finishes

@janezd janezd force-pushed the vizrank-2.0 branch 3 times, most recently from 1a16af0 to 01f7ef7 Compare December 8, 2023 13:46
@janezd
Copy link
Contributor Author

janezd commented Dec 9, 2023

I now change the code so that

  • if the user closes the dialog and reopens it, ranking is restarted, but
  • if the user pauses ranking and closes the dialog, and the reopens it, ranking is not restarted.

This is in a separate commit and not explicitly tested. Perhaps I may be persuaded to add some tests, though they'd be rather stupid.

def initialize(self):
super().initialize()
self.attrs = self.master.attrs
caption_title = "Sieve Rank"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is never used. You probably ment captionTitle.

@VesnaT VesnaT merged commit b17c0ff into biolab:master Dec 14, 2023
22 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants