Skip to content

[FIX] OWSave: Safer Check if Writer Support Sparse#1864

Merged
ajdapretnar merged 1 commit intobiolab:masterfrom
nikicc:safer-check-for-sparse
Jan 5, 2017
Merged

[FIX] OWSave: Safer Check if Writer Support Sparse#1864
ajdapretnar merged 1 commit intobiolab:masterfrom
nikicc:safer-check-for-sparse

Conversation

@nikicc
Copy link
Contributor

@nikicc nikicc commented Jan 4, 2017

Issue

Some writers in addons did not have SUPPORT_SPARSE_DATA flag which caused OWSave to crash.

Description of changes

Check if writer supports sparse more safely; i.e. if there is no flag assume it does not support sparse.

Includes
  • Code changes
  • Tests
  • Documentation

Access SUPPORT_SPARSE_DATA in a safer manner to prevent chrashes if flag is not set for some writter; like in writers from addons.
@nikicc nikicc added this to the 3.3.10 milestone Jan 4, 2017
@codecov-io
Copy link

Current coverage is 89.25% (diff: 100%)

Merging #1864 into master will not change coverage

@@             master      #1864   diff @@
==========================================
  Files            86         86          
  Lines          9100       9100          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           8122       8122          
  Misses          978        978          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update a211299...77766f4

@ajdapretnar ajdapretnar merged commit 7acb5fc into biolab:master Jan 5, 2017
@nikicc nikicc deleted the safer-check-for-sparse branch January 5, 2017 09:10
@nikicc
Copy link
Contributor Author

nikicc commented Jan 6, 2017

astaric pushed a commit to astaric/orange3 that referenced this pull request Jan 6, 2017
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
astaric pushed a commit to astaric/orange3 that referenced this pull request Jan 10, 2017
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
astaric pushed a commit to astaric/orange3 that referenced this pull request Jan 11, 2017
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
astaric pushed a commit to astaric/orange3 that referenced this pull request Jan 13, 2017
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
astaric pushed a commit to astaric/orange3 that referenced this pull request Jan 18, 2017
[FIX] OWSave: Safer Check if Writer Support Sparse
(cherry picked from commit 7acb5fc)
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.

3 participants