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

MRG: upgrade sig overlap and sig subtract to load more than JSON signatures #3153

Open
wants to merge 9 commits into
base: latest
Choose a base branch
from

Conversation

ctb
Copy link
Contributor

@ctb ctb commented May 12, 2024

Fix sig overlap and sig subtract to take more than just JSON signatures.

Also, adds a function sourmash_args.load_one_signature that I think should (eventually) replace the now-deprecated sourmash.signature.load_one_signature. This will be the topic of a new PR - for now, I think it's a nice quick fix!

Fixes #3136

Related issues:

TODO:

  • test uncovered code
  • do a bit more of a search and digest of related issues to see if there's other low hanging fruit

Copy link

codecov bot commented May 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.67%. Comparing base (c192268) to head (c778717).

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #3153      +/-   ##
==========================================
+ Coverage   86.66%   86.67%   +0.01%     
==========================================
  Files         136      136              
  Lines       15814    15828      +14     
  Branches     2713     2713              
==========================================
+ Hits        13705    13719      +14     
  Misses       1799     1799              
  Partials      310      310              
Flag Coverage Δ
hypothesis-py 25.34% <4.76%> (-0.02%) ⬇️
python 92.33% <100.00%> (+<0.01%) ⬆️
rust 62.11% <ø> (ø)

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 ctb changed the title WIP: upgrade sig overlap and sig subtract MRG: upgrade sig overlap and sig subtract May 13, 2024
@ctb
Copy link
Contributor Author

ctb commented May 13, 2024

Ready for review @sourmash-bio/devs

@ctb ctb changed the title MRG: upgrade sig overlap and sig subtract MRG: upgrade sig overlap and sig subtract to load more than JSON signatures May 14, 2024
@ctb
Copy link
Contributor Author

ctb commented May 23, 2024

@ccbaumler @AnneliektH would either of you be able to look at this and (potentially) approve it? lmk if you don't have review privileges.

@ctb ctb enabled auto-merge (squash) May 23, 2024 13:49
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.

sig overlap and sig subtract should be upgraded to support more than JSON sigs
1 participant