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

EXP: update sig manifest default rebuilding behavior for v5. #3074

Open
wants to merge 4 commits into
base: start_v5
Choose a base branch
from

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Mar 11, 2024

NOTE: PR into #3072

This PR changes the default behavior of sig manifest for sourmash v5 to, by default, not rebuild the manifest for collections.

This is also further exploration of the v4/v5 cli version fixtures in #3072.

@ctb ctb changed the base branch from latest to start_v5 March 11, 2024 13:37
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 86.57%. Comparing base (10b6964) to head (256473d).

Files Patch % Lines
src/sourmash/sig/__main__.py 66.66% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           start_v5    #3074      +/-   ##
============================================
+ Coverage     86.55%   86.57%   +0.02%     
============================================
  Files           136      136              
  Lines         15819    15827       +8     
  Branches       2717     2719       +2     
============================================
+ Hits          13692    13703      +11     
+ Misses         1816     1812       -4     
- Partials        311      312       +1     
Flag Coverage Δ
hypothesis-py 25.32% <0.00%> (-0.02%) ⬇️
python 92.35% <75.00%> (+0.02%) ⬆️
rust 61.47% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ctb added a commit that referenced this pull request Apr 12, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change sourmash sig manifest to not regenerate a manifest by default
1 participant