-
Notifications
You must be signed in to change notification settings - Fork 80
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
EXP: try setting up --v4 and --v5 behavior differences for sig check
#3072
base: latest
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## latest #3072 +/- ##
=======================================
Coverage 86.55% 86.55%
=======================================
Files 136 136
Lines 15809 15819 +10
Branches 2713 2717 +4
=======================================
+ Hits 13683 13692 +9
Misses 1816 1816
- Partials 310 311 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
hi @sourmash-bio/devs any thoughts on this approach? It feels not-wrong to me... but curious about possible fine tuning! |
This PR refactors code to eliminate any internal dependencies on the `compute` command or codebase, in preparation for removing `sourmash compute` in v5.0, per #1286. Specifically, this PR: * shifts common sketching code from `src/sourmash/command_compute.py` to `src/sourmash/command_sketch.py`; * refactors three tests that were still using `sourmash compute` to use `sourmash sketch` instead. No functionality is altered or adjusted in this PR; it's all just code refactoring. The next step for #1286 would maybe be adjust the code and the tests to respect the `--v4` and `--v5` flags (as used in #3072 / #3074). The actual compute code and command wouldn't be removed until after a 5.0 release, I think.
This PR adds
--v5
functionality tosig collect
andsig check
, switching the default behavior (when--v5
is specified) over to the new--relpath
functionality per #3071.This PR is a proposed step along the road to support a sourmash v5 release 🎉.
As part of this, the PR adds support for
--v4
and--v5
command-line arguments tosig check
andsig collect
, along with test fixtures and aversion=...
argument toruntmp.sourmash
.--v4
would retain the current default v4 behavior, while--v5
would switch the behavior over to the new, exciting (proposed) sourmash v5 behavior.sig check
andsig collect
behavior to use--relpath
for v5 #3071