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

Move transformations from DataSet to DataSetFilters #6799

Merged
merged 8 commits into from
Nov 22, 2024

Conversation

user27182
Copy link
Contributor

Overview

We have DataSetFilters.transform and DataSetFilters.reflect, but all other transformation methods are DataSet methods. This is inconsistent and confusing, especially since these methods pretty much all call DataSetFilters.transform internally.

This PR moves all methods to DataSetFilters. Related tests are also moved.

@pyvista-bot pyvista-bot added the maintenance Low-impact maintenance activity label Nov 14, 2024
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.50%. Comparing base (4f09401) to head (53974e0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6799      +/-   ##
==========================================
- Coverage   97.50%   97.50%   -0.01%     
==========================================
  Files         143      143              
  Lines       28188    28187       -1     
==========================================
- Hits        27485    27484       -1     
  Misses        703      703              
---- 🚨 Try these New Features:

@pyvista-bot
Copy link
Contributor

pyvista-bot commented Nov 14, 2024

@pyvista-bot pyvista-bot temporarily deployed to pull request November 14, 2024 21:03 Inactive
@user27182 user27182 added the no-sphinx-build-cache Invalidate sphinx build cache for PR label Nov 15, 2024
@pyvista-bot pyvista-bot temporarily deployed to pull request November 15, 2024 19:01 Inactive
@user27182 user27182 requested a review from akaszynski November 18, 2024 22:52
@user27182
Copy link
Contributor Author

Related issue on decoupling filters from datasets:
#4774

@pyvista-bot pyvista-bot temporarily deployed to pull request November 19, 2024 09:58 Inactive
akaszynski
akaszynski previously approved these changes Nov 20, 2024
Copy link
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

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

Agree with the change. LGTM.

@pyvista-bot pyvista-bot temporarily deployed to pull request November 20, 2024 20:42 Inactive
@pyvista-bot pyvista-bot temporarily deployed to pull request November 20, 2024 23:51 Inactive
@tkoyama010 tkoyama010 enabled auto-merge (squash) November 21, 2024 20:24
@tkoyama010 tkoyama010 merged commit 4fef9b5 into main Nov 22, 2024
33 checks passed
@tkoyama010 tkoyama010 deleted the maint/move-transforms-to-filters branch November 22, 2024 00:18
@pyvista-bot pyvista-bot temporarily deployed to pull request November 22, 2024 01:42 Inactive
@user27182
Copy link
Contributor Author

Just a heads up that since a few doc build images were removed by this PR, this messes up the build cache. So, all Documentation Build checks will now fail unless they use the no-sphinx-build-cache label. The build cache should be fixed once the next PR (with the no-sphinx-build-cache label) gets merged into main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Low-impact maintenance activity no-sphinx-build-cache Invalidate sphinx build cache for PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants