Skip to content

[ENH] MergeData: add autocommit button#3091

Merged
ajdapretnar merged 4 commits intobiolab:masterfrom
robertcv:fix_mergedata
Jun 29, 2018
Merged

[ENH] MergeData: add autocommit button#3091
ajdapretnar merged 4 commits intobiolab:masterfrom
robertcv:fix_mergedata

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


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.

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