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

Split up PCA tests #3268

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Split up PCA tests #3268

merged 1 commit into from
Sep 30, 2024

Conversation

flying-sheep
Copy link
Member

@flying-sheep flying-sheep commented Sep 30, 2024

It’s 3 separate unit tests in a trenchcoat. I’m only not going with pytest.mark.parametrize since #3263 and #3267 are making things more complicated and might cause a split anyway.

The PCA code is too branched for these tests to be helpful with debugging.

@flying-sheep flying-sheep changed the title Split up PCA tests Split up and simplify PCA tests Sep 30, 2024
@flying-sheep flying-sheep added this to the 1.10.4 milestone Sep 30, 2024
@flying-sheep flying-sheep changed the title Split up and simplify PCA tests Split up and simplify test_pca_transform Sep 30, 2024
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.95%. Comparing base (48706ca) to head (0722c91).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3268      +/-   ##
==========================================
+ Coverage   76.74%   76.95%   +0.20%     
==========================================
  Files         109      109              
  Lines       12466    12466              
==========================================
+ Hits         9567     9593      +26     
+ Misses       2899     2873      -26     
Flag Coverage Δ
76.95% <ø> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 10 files with indirect coverage changes

@flying-sheep flying-sheep changed the title Split up and simplify test_pca_transform Split up PCA tests Sep 30, 2024
@flying-sheep flying-sheep merged commit 2e208a3 into main Sep 30, 2024
28 of 32 checks passed
@flying-sheep flying-sheep deleted the fix-pca-tests branch September 30, 2024 13:53
meeseeksmachine pushed a commit to meeseeksmachine/scanpy that referenced this pull request Sep 30, 2024
flying-sheep added a commit that referenced this pull request Sep 30, 2024
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.

1 participant