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 extract_values invert parameter for multi-component values #6057

Merged
merged 9 commits into from May 13, 2024

Conversation

user27182
Copy link
Contributor

The invert parameter of the extract_values filter (from #5963 and #6001) does not work as expected for multi-component values. This PR fixes this.

This bug was discovered as part of #5968 , which uses this filter in some tests.

@pyvista-bot pyvista-bot added the bug Uh-oh! Something isn't working as expected. label May 8, 2024
Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.99%. Comparing base (0b44c29) to head (974cbd9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6057   +/-   ##
=======================================
  Coverage   96.99%   96.99%           
=======================================
  Files         141      141           
  Lines       24640    24641    +1     
=======================================
+ Hits        23899    23900    +1     
  Misses        741      741           

@tkoyama010 tkoyama010 self-requested a review May 9, 2024 02:23
@user27182
Copy link
Contributor Author

@pyvista-bot preview

@pyvista-bot
Copy link
Contributor

@tkoyama010 tkoyama010 enabled auto-merge (squash) May 13, 2024 04:08
@tkoyama010
Copy link
Member

pre-commit.ci autofix

@tkoyama010
Copy link
Member

pre-commit.ci autofix

Copy link
Member

@tkoyama010 tkoyama010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tkoyama010 tkoyama010 merged commit 7dc7320 into pyvista:main May 13, 2024
27 checks passed
@user27182 user27182 deleted the fix/extract_values_invert branch May 13, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh-oh! Something isn't working as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants