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] OWSieve: Fix operators in tooltips #3602

Merged
merged 2 commits into from
Feb 22, 2019

Conversation

thocevar
Copy link
Contributor

Issue

Fixes #3578

Description of changes

Discretization of datasets with mixed attributes does not retain the same instances of discrete attributes. Is this correct behaviour? A check for a discrete attribute with the 'is' operator fails and results in a tooltip such as "gender in male" instead of "gender = male". Revert to an equality check with '=='.

Compress duplicate code for x and y tooltips.

Includes
  • Code changes
  • Tests
  • Documentation

@ajdapretnar ajdapretnar self-assigned this Feb 15, 2019
@ajdapretnar
Copy link
Contributor

Lint is complaining. Will you fix this or do you stand behind your solution? :)

@codecov
Copy link

codecov bot commented Feb 15, 2019

Codecov Report

Merging #3602 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3602      +/-   ##
==========================================
- Coverage   83.99%   83.99%   -0.01%     
==========================================
  Files         370      370              
  Lines       67023    67025       +2     
==========================================
- Hits        56298    56296       -2     
- Misses      10725    10729       +4

@codecov
Copy link

codecov bot commented Feb 15, 2019

Codecov Report

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

@@            Coverage Diff             @@
##           master    #3602      +/-   ##
==========================================
+ Coverage   83.99%   83.99%   +<.01%     
==========================================
  Files         370      370              
  Lines       67023    67159     +136     
==========================================
+ Hits        56298    56413     +115     
- Misses      10725    10746      +21

@thocevar
Copy link
Contributor Author

Let's wait with merge until we resolve what is going on with discretization.

@janezd janezd added needs discussion Core developers need to discuss the issue and removed needs discussion Core developers need to discuss the issue labels Feb 21, 2019
@ajdapretnar
Copy link
Contributor

Merging as is. @thocevar Please write an issue for discretization and reference it here.

@ajdapretnar ajdapretnar merged commit dce5ea9 into biolab:master Feb 22, 2019
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