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

Add tryencode #324

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Add tryencode #324

merged 1 commit into from
Oct 25, 2024

Conversation

jakobnissen
Copy link
Member

This is an internal method (so far) that is similar to encode, except returns nothing when failing instead of throwing an error.

Future questions:

  • Should it remain internal? It's mentioned in the docs for Alphabet, so maybe not

I guess we don't need a trydecode, really.

This is an internal method (so far) that is similar to `encode`, except returns
nothing when failing instead of throwing an error.

Future questions:
* Should it remain internal? It's mentioned in the docs for Alphabet, so maybe
  not
@jakobnissen jakobnissen mentioned this pull request Oct 25, 2024
9 tasks
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.06%. Comparing base (95d9218) to head (bf13afb).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   90.87%   91.06%   +0.19%     
==========================================
  Files          31       28       -3     
  Lines        2400     2507     +107     
==========================================
+ Hits         2181     2283     +102     
- Misses        219      224       +5     
Flag Coverage Δ
unittests 91.06% <100.00%> (+0.19%) ⬆️

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.

@jakobnissen jakobnissen merged commit 295ba89 into BioJulia:master Oct 25, 2024
22 checks passed
@jakobnissen jakobnissen deleted the tryencode2 branch October 25, 2024 10:20
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