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

Decode nocheck #281

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Decode nocheck #281

merged 1 commit into from
Sep 26, 2023

Conversation

jakobnissen
Copy link
Member

Relax the requirement of Alphabet, such that it is no longer necessary to
check for a valid encoding in decode.
This implies that storing invalid data in a BioSequence is disallowed, but it
speeds up getindex(::BioSequence), which is critical.

@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (4839f27) 90.96% compared to head (2d089a3) 91.01%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
+ Coverage   90.96%   91.01%   +0.04%     
==========================================
  Files          31       31              
  Lines        2402     2392      -10     
==========================================
- Hits         2185     2177       -8     
+ Misses        217      215       -2     
Flag Coverage Δ
unittests 91.01% <ø> (+0.04%) ⬆️

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

Files Coverage Δ
src/alphabet.jl 89.33% <ø> (+1.09%) ⬆️

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

Relax the requirement of `Alphabet`, such that it is no longer necessary to
check for a valid encoding in `decode`.
This implies that storing invalid data in a `BioSequence` is disallowed, but it
speeds up `getindex(::BioSequence)`, which is critical.
@jakobnissen jakobnissen linked an issue Sep 26, 2023 that may be closed by this pull request
@jakobnissen jakobnissen merged commit b4f5970 into BioJulia:master Sep 26, 2023
27 of 28 checks passed
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.

Can we skip check in decode?
1 participant