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

[ENH] MergeData: add autocommit button #3091

Merged
merged 4 commits into from
Jun 29, 2018

Conversation

robertcv
Copy link
Collaborator

Issue

Fixes #2927

Description of changes

Add autocommit button.

Includes
  • Code changes
  • Tests
  • Documentation

@CLAassistant
Copy link

CLAassistant commented Jun 26, 2018

CLA assistant check
All committers have signed the CLA.

@codecov-io
Copy link

codecov-io commented Jun 26, 2018

Codecov Report

Merging #3091 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3091      +/-   ##
==========================================
+ Coverage   82.42%   82.42%   +<.01%     
==========================================
  Files         335      335              
  Lines       58037    58045       +8     
==========================================
+ Hits        47838    47846       +8     
  Misses      10199    10199

@@ -246,7 +250,8 @@ def commit(self):
self.Outputs.data.send(merged_data)

def _invalidate(self):
self.commit()
if self.auto_apply:
Copy link
Member

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):
Copy link
Member

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

@astaric astaric changed the title [FIX][RFC] owmergedata add autocommit [ENH] MergeData: add autocommit button Jun 28, 2018
@ajdapretnar ajdapretnar merged commit cbd17e1 into biolab:master Jun 29, 2018
@robertcv robertcv deleted the fix_mergedata branch August 2, 2018 07:21
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.

5 participants