-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ENH] MergeData: add autocommit button #3091
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3091 +/- ##
==========================================
+ Coverage 82.42% 82.42% +<.01%
==========================================
Files 335 335
Lines 58037 58045 +8
==========================================
+ Hits 47838 47846 +8
Misses 10199 10199 |
Orange/widgets/data/owmergedata.py
Outdated
@@ -246,7 +250,8 @@ def commit(self): | |||
self.Outputs.data.send(merged_data) | |||
|
|||
def _invalidate(self): | |||
self.commit() | |||
if self.auto_apply: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not be necessary. when auto_commit button is added to the widget, it patches commit method so it performs this check.
@@ -450,3 +450,10 @@ def test_sparse(self): | |||
|
|||
output_sparse.X = output_sparse.X.toarray() | |||
self.assertTablesEqual(output_dense, output_sparse) | |||
|
|||
def test_disable_auto_apply(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also check that auto_apply works when enabled
Issue
Fixes #2927
Description of changes
Add autocommit button.
Includes