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] OWImpute: Preserve default method setting #5181

Merged

Conversation

ales-erjavec
Copy link
Contributor

Issue
  • The default method changes to 'Fixed values' when the widget receives first data.
    Steps:
    * create an 'Impute' widget - do not connect it yet
    * change the default method to say 'Average/Most frequent'
    * connect it to 'File', the method changes to 'Fixed values'

  • The date time setting is reset at widget creation and is not restored.

Description of changes
  • Preserve the default method on set_data
  • Do not reset default_time in init
  • Do not switch to 'Fixed values' by tabbing over controls
  • Fix type hint comment location
Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link

codecov bot commented Jan 14, 2021

Codecov Report

Merging #5181 (b69a634) into master (1d2626e) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master    #5181      +/-   ##
==========================================
- Coverage   84.79%   84.79%   -0.01%     
==========================================
  Files         286      286              
  Lines       60189    60192       +3     
==========================================
+ Hits        51036    51038       +2     
- Misses       9153     9154       +1     

@janezd janezd self-assigned this Jan 15, 2021
@janezd janezd merged commit f079588 into biolab:master Jan 15, 2021
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