forked from BioJulia/BioSequences.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error when mis-encoding LongDNA from byte-like inputs (BioJul…
…ia#267) This only applies to LongDNA encoded from byte-like inputs, since this uses a fast path in BioSequences, where we have access to the whole sequence. Other paths leading to the error happens from direct calls to e.g. convert(DNA, x) in BioSymbols, so the error cannot be improved much. Old error looks like: "Cannot encode 0x20 to DNAAlphabet{4}()". New error looks like: "Cannot encode byte 0x20 (char ' ') at index 3 to DNAAlphabet{4}()".
- Loading branch information
1 parent
459ea2a
commit 4a31474
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters