Skip to content

[FIX] OWRandomForest: Fix, refactor and widget tests#1477

Merged
astaric merged 4 commits intobiolab:masterfrom
VesnaT:rf_fix
Jul 28, 2016
Merged

[FIX] OWRandomForest: Fix, refactor and widget tests#1477
astaric merged 4 commits intobiolab:masterfrom
VesnaT:rf_fix

Conversation

@VesnaT
Copy link
Contributor

@VesnaT VesnaT commented Jul 22, 2016

No description provided.

@codecov-io
Copy link

codecov-io commented Jul 22, 2016

Current coverage is 88.19% (diff: 100%)

Merging #1477 into master will not change coverage

@@             master      #1477   diff @@
==========================================
  Files            77         77          
  Lines          7613       7613          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           6714       6714          
  Misses          899        899          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 408e8e1...d409fb2

lambda i, x: x.setValue(i), [2], [0])
super().test_parameters()
# reset checkbox to default
self.widget.min_samples_split_spin[0].setCheckState(True)
Copy link
Member

Choose a reason for hiding this comment

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

Why is this line needed? Each test should get its own instance of a widget with controls already set to default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought so too, but the settings are probably saved. However, I did not work without it.

@astaric astaric merged commit 6965c7a into biolab:master Jul 28, 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.

3 participants