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

Disable VTK Warnings on release version #292

Merged
merged 4 commits into from
Aug 19, 2020

Conversation

skoudoro
Copy link
Contributor

This PR adds a utility function to switch ON or OFF the global warning window of VTK. By default, it is ON on the dev version and OFF for the release version.

fix #270.

@skoudoro skoudoro added this to the 0.6.1 milestone Aug 19, 2020
@dmreagan
Copy link
Contributor

Does this block the warning window we see about deprecated shader functions?

@skoudoro
Copy link
Contributor Author

Yes @dmreagan

@skoudoro
Copy link
Contributor Author

Is this PR working for you @dmreagan ?

@Garyfallidis
Copy link
Contributor

Garyfallidis commented Aug 19, 2020

Switching it on or off does remove the printed version. Both options do not show the warning window. Is this expected?

@Garyfallidis
Copy link
Contributor

Works on Windows 10 and Ubuntu. +1 on my side.
Rename set... to enable/disable_warnings.
Clarify that this needs to be True to see any errors coming from shaders or other areas.

@codecov
Copy link

codecov bot commented Aug 19, 2020

Codecov Report

Merging #292 into master will decrease coverage by 0.17%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
- Coverage   88.84%   88.66%   -0.18%     
==========================================
  Files          19       19              
  Lines        4974     4986      +12     
  Branches      645      648       +3     
==========================================
+ Hits         4419     4421       +2     
- Misses        390      399       +9     
- Partials      165      166       +1     
Impacted Files Coverage Δ
fury/__init__.py 65.71% <16.66%> (-25.60%) ⬇️

@Garyfallidis Garyfallidis merged commit edad93c into fury-gl:master Aug 19, 2020
@skoudoro skoudoro deleted the window-warning branch August 19, 2020 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable VTK Warnings on release version
3 participants