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] Scatterplot's VizRank no longer crashes in presence of nonprimitive metas #3347

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Oct 30, 2018

Issue

VizRank crashes when the data includes non-primitive meta attributes. Most notably, it crashes on Brown data!

When reimplementing projections, we removed the obsolete graph.scaled_data. Vizrank, which used to get the attributes from graph.scaled_data.domain, now takes them from widget's data.domain, but does not filter out primitive attributes (which it didn't have to do before, since scaled_data did not include them).

Description of changes

Add the check and the tests.

Includes
  • Code changes
  • Tests

@janezd janezd added this to the 3.18 milestone Nov 6, 2018
@codecov
Copy link

codecov bot commented Nov 6, 2018

Codecov Report

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

@@            Coverage Diff             @@
##           master    #3347      +/-   ##
==========================================
+ Coverage   82.21%   82.21%   +<.01%     
==========================================
  Files         351      351              
  Lines       62301    62326      +25     
==========================================
+ Hits        51219    51241      +22     
- Misses      11082    11085       +3

@lanzagar lanzagar merged commit db6f067 into biolab:master Nov 7, 2018
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