Skip to content

[FIX] File: Fix domain edit on no changes#4232

Merged
janezd merged 1 commit intobiolab:masterfrom
lanzagar:owfile-keepdata
Nov 28, 2019
Merged

[FIX] File: Fix domain edit on no changes#4232
janezd merged 1 commit intobiolab:masterfrom
lanzagar:owfile-keepdata

Conversation

@lanzagar
Copy link
Copy Markdown
Contributor

Issue

When no changes have been made in domain editor, it nevertheless created a new instance of Table with the same domain.
In addition to needless work, this prevented loading pkl files with subclasses of Table.

Description of changes

If domain did not change, leave the data alone.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 28, 2019

Codecov Report

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

@@            Coverage Diff             @@
##           master    #4232      +/-   ##
==========================================
+ Coverage   85.95%   85.95%   +<.01%     
==========================================
  Files         394      394              
  Lines       70164    70170       +6     
==========================================
+ Hits        60310    60316       +6     
  Misses       9854     9854

@janezd janezd merged commit 1970245 into biolab:master Nov 28, 2019
@lanzagar lanzagar deleted the owfile-keepdata branch March 14, 2022 14:43
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