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

Use naive hash fallback for BioSequence #244

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

jakobnissen
Copy link
Member

Current hashing behaviour hashes equal biosequences with different encodings to
different values, which violate the interface of hash.
This is a fix until (and if) we figure out a better method of hashing.

See issue #243

Going to immediately release this as a new version if tests pass, cc @kescobo @SabrinaJaye

Current hashing behaviour hashes equal biosequences with different encodings to
different values, which violate the interface of hash.
This is a fix until (and if) we figure out a better method of hashing.

See issue BioJulia#243
@jakobnissen jakobnissen marked this pull request as ready for review July 5, 2022 14:57
@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #244 (d4700a9) into master (31936ce) will decrease coverage by 0.52%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
- Coverage   89.27%   88.75%   -0.53%     
==========================================
  Files          31       30       -1     
  Lines        2425     2321     -104     
==========================================
- Hits         2165     2060     -105     
- Misses        260      261       +1     
Flag Coverage Δ
unittests 88.75% <100.00%> (-0.53%) ⬇️

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

Impacted Files Coverage Δ
src/biosequence/biosequence.jl 96.77% <100.00%> (+0.05%) ⬆️
src/bit-manipulation/bitindex.jl 85.29% <0.00%> (-2.95%) ⬇️
src/longsequences/hash.jl

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31936ce...d4700a9. Read the comment docs.

@jakobnissen
Copy link
Member Author

Codecov is an artifact of suddenly having less (tested) source code, meaning the untested fraction increases - this is completely covered by tests.

@jakobnissen jakobnissen merged commit 9ec17a2 into BioJulia:master Jul 5, 2022
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.

1 participant