Skip to content

[FIX] OWSieve: Fix operators in tooltips#3602

Merged
ajdapretnar merged 2 commits intobiolab:masterfrom
thocevar:sieve-tooltip
Feb 22, 2019
Merged

[FIX] OWSieve: Fix operators in tooltips#3602
ajdapretnar merged 2 commits intobiolab:masterfrom
thocevar:sieve-tooltip

Conversation

@thocevar
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@codecov
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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