-
Notifications
You must be signed in to change notification settings - Fork 267
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
Replace _subsample with biom's optimized subsample #2016
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2016 +/- ##
==========================================
- Coverage 98.47% 98.47% -0.01%
==========================================
Files 184 184
Lines 31502 31498 -4
Branches 7673 7667 -6
==========================================
- Hits 31021 31017 -4
Misses 464 464
Partials 17 17 ☔ View full report in Codecov by Sentry. |
@wasade Since biom-format 2.1.16 is online, would it be the time to finish and merge this PR? I was able to setup a numpy 2.0 dev environment for scikit-bio, and found that the current bottleneck is the old
|
@qiyunzhu, if green then I think we're good for final review |
I don't observe the same failure on x86_64, updating CI. There may be a wider variance on the failing test than what was originally tested for. |
Okay, we're green |
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.
Looks great to me. Thanks! Just curious: What's the rationale of specifying "macos-13", "macos-14" instead of "macos-latest"?
Great!One is x86_64, other is M1On May 30, 2024, at 18:45, Qiyun Zhu ***@***.***> wrote:
@qiyunzhu commented on this pull request.
Looks great to me. Thanks! Just curious: What's the rationale of specifying "macos-13", "macos-14" instead of "macos-latest"?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
This PR uses the
subsample
method from biom. Subsample was recently extensively optimized by @sfiligoi. And, biom as a package was made Windows compatible by @mataton. However, the new version is not yet released. This PR sets the stage for using these improvements. I'll shift to a biom release at the next opportunity.A few important items:
Table
to subsample, but in my opinion we should defer those changes as a separate PRPlease complete the following checklist:
I have read the contribution guidelines.
I have documented all public-facing changes in the changelog.
This pull request includes code, documentation, or other content derived from external source(s). If this is the case, ensure the external source's license is compatible with scikit-bio's license. Include the license in the
licenses
directory and add a comment in the code giving proper attribution. Ensure any other requirements set forth by the license and/or author are satisfied.This pull request does not include code, documentation, or other content derived from external source(s).
Note: This document may also be helpful to see some of the things code reviewers will be verifying when reviewing your pull request.