-
Notifications
You must be signed in to change notification settings - Fork 441
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 merge dataset #4414
Fix merge dataset #4414
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4414 +/- ##
=======================================
Coverage 95.82% 95.83%
=======================================
Files 97 97
Lines 20875 20909 +34
=======================================
+ Hits 20004 20038 +34
Misses 871 871 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for addressing this @akaszynski! |
Updated to retain the old behavior when the inputs do not have lines or strips. This helps us retain the "best of both worlds" by using the faster approach when possible, and falling back on the more robust approach when needed. |
@akaszynski, I think you merged #4407 into this by accident |
* convert back to polydata using extact_geometry * improved readability * branch for performance * add in verts * revert #4407 into this branch * Avoided omission of two letters. --------- Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com>
* Add PyHyperbolic3D as an external example (#4420) * Add PyHyperbolic3D as an external example * Reduce Gif file size * Use 128 color * optimize and scale --------- Co-authored-by: Alex Kaszynski <akascap@gmail.com> * Fix merge dataset (#4414) * convert back to polydata using extact_geometry * improved readability * branch for performance * add in verts * revert #4407 into this branch * Avoided omission of two letters. --------- Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Remove SKIP in docstrings (#4419) * remove SKIPs * remove the rest of skips * minor fixes * Fix active scalars and pass point data in `to_tetrahedra` for `RectilinearGrid` (#4406) * add failing test * fix active scalars for cell data * pass point data, deprecate use of pass_cell_data * document parameter --------- Co-authored-by: Alex Kaszynski <akascap@gmail.com> * Add gif extension to Sphinx-Gallery scraper (#4403) * Add gif extension * Reset cache * Add test for GIFs * Revert cache regeneration * Fix test * use cells for the example --------- Co-authored-by: Alex Kaszynski <akascap@gmail.com> * bump version to v0.39.1 --------- Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Co-authored-by: Alex Fernandez <21alex295@gmail.com>
Resolve #4411 by converting merged
UnstructuredGrids
back toPolyData
back usingextract_geometry
.There's a performance penalty, but it's worth it since it handles the edge case where we may have an UnstructuredGrid that contains lines or strips.