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

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

Merged
merged 1 commit into from
Jan 5, 2017

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