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] Load Classifier widget sends classifier on init #1584

Merged
merged 1 commit into from
Sep 21, 2016

Conversation

nikicc
Copy link
Contributor

@nikicc nikicc commented Sep 21, 2016

Filenames are stored in settings but when the new instance is created the most recent file was not loaded - it was only added to dropdown. The manual click on reload was necessary to load the classifier.

Filenames are stored in settings but when the new instance is created the most recent file was not loaded - it was only added to dropdown. The manual click on reload was necessary to load the classifier.
@codecov-io
Copy link

codecov-io commented Sep 21, 2016

Current coverage is 88.66% (diff: 100%)

Merging #1584 into master will not change coverage

@@             master      #1584   diff @@
==========================================
  Files            78         78          
  Lines          8111       8111          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           7192       7192          
  Misses          919        919          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 69fc2e1...e147aca

@kernc kernc changed the title LoadClassifier: Load most recent file in __init__ [FIX] Load Classifier widget sends classifier on init Sep 21, 2016
@kernc kernc merged commit a3ff603 into biolab:master Sep 21, 2016
@nikicc nikicc deleted the load-classifier-apply branch September 21, 2016 19:33
@astaric
Copy link
Member

astaric commented Sep 22, 2016

@nikicc, @kernc: data processing should not be part of the widget's __init__, but rather scheduled for a later execution using a singleshot timer.

@nikicc
Copy link
Contributor Author

nikicc commented Sep 22, 2016

@astaric is #1586 better?

@astaric
Copy link
Member

astaric commented Sep 22, 2016

yes, I have already merged it

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.

4 participants