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] OWBoxPlot: Fix crash with missing values #1640

Closed
wants to merge 1 commit into from

Conversation

VesnaT
Copy link
Contributor

@VesnaT VesnaT commented Oct 7, 2016

Fixes #1568

@codecov-io
Copy link

codecov-io commented Oct 7, 2016

Current coverage is 88.70% (diff: 100%)

Merging #1640 into master will increase coverage by 0.01%

@@             master      #1640   diff @@
==========================================
  Files            78         78          
  Lines          8148       8148          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           7227       7228     +1   
+ Misses          921        920     -1   
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 14ff1af...c56fa01

@VesnaT VesnaT changed the title [FIX] OWBoxPlot: Fix crash with missing values [WIP][FIX] OWBoxPlot: Fix crash with missing values Oct 7, 2016
@astaric astaric added this to the 3.3.8 milestone Oct 7, 2016
data = self.iris
data.X[:, 0] = np.nan
self.send_signal("Data", data)
self.assertEqual(self.widget.dataset, data)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we testing this?? dataset is set to whatever is passed in on the signal, so, yes, this is equal. It's also implementation dependent and proves nothing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Point je, da tak assert lahko passa, widget pa niti približno ne dela, torej zavaja. Nimate pojma.

@VesnaT VesnaT changed the title [WIP][FIX] OWBoxPlot: Fix crash with missing values [FIX] OWBoxPlot: Fix crash with missing values Oct 7, 2016
@astaric
Copy link
Member

astaric commented Oct 7, 2016

Continued in #1647

@astaric astaric closed this Oct 7, 2016
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.

Box Plot widget: if a feature have no data, widget produce error
4 participants