-
Notifications
You must be signed in to change notification settings - Fork 3
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
Misc #70
Misc #70
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.0 to 0.7.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.7.0...0.7.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
[CHANGED] also turn off code coverage for numba decorated functions as they cannot be evaluated by pytest-cov
Reviewer's Guide by SourceryThis PR refactors the sequence distance calculation implementation to improve code organization and sets new default parameters. The main changes include restructuring the distance calculation logic in the Updated class diagram for distance calculationclassDiagram
class DistanceCalculator {
-int k
-int|None sketch_size
-str moltype
-bool|None mash_canonical_kmers
-bool show_progress
-function _s2a
-function _func
-dict _func_kwargs
+main(seqs: c3_types.SeqsCollectionType) c3_types.PairwiseDistanceType
}
note for DistanceCalculator "Refactored to use function mapping for distance calculation"
class mash_distances
class euclidean_distances
DistanceCalculator --> mash_distances : uses
DistanceCalculator --> euclidean_distances : uses
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @GavinHuttley - I've reviewed your changes - here's some feedback:
Overall Comments:
- Please explain the rationale for changing the default k-mer size from 16 to 12 and sketch_size from None to 3000. These changes could impact performance and accuracy.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Pull Request Test Coverage Report for Build 11623855545Details
💛 - Coveralls |
Summary by Sourcery
Enhancements: