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
Support all VTK readers #100
Conversation
Codecov Report
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
- Coverage 87.58% 87.23% -0.35%
==========================================
Files 16 17 +1
Lines 4220 4254 +34
==========================================
+ Hits 3696 3711 +15
- Misses 524 543 +19
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
- Coverage 87.58% 87.49% -0.09%
==========================================
Files 16 17 +1
Lines 4220 4254 +34
==========================================
+ Hits 3696 3722 +26
- Misses 524 532 +8
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #100 +/- ##
==========================================
- Coverage 87.56% 87.47% -0.09%
==========================================
Files 16 17 +1
Lines 4222 4256 +34
==========================================
+ Hits 3697 3723 +26
- Misses 525 533 +8
Continue to review full report at Codecov.
|
This PR creates a way to support all VTK reader classes by mapping them to file extensions.
This creates a standard routine for reading any VTK supported file with just a few lines of code and without having to remember the proper VTK classes for performing those reads.
Find the dictionary mapping the extensions to the proper VTK reader classes in
readers.py
.Perhaps you need some flexibility with what the reader performs and need to call several setters/options on the reader - then simply pass a dictionary of function names and parameters to pass:
NOTES:
READERS
dictionary.