mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch a bug in seting of the tag delimiter with an upper case
Former-commit-id: a3962400b7ab91b25102c4c7c35cd824bf7ceaf0
This commit is contained in:
@ -312,7 +312,7 @@ func normalizeTagDelimiter(delim byte) byte {
|
||||
delim = 0
|
||||
} else {
|
||||
if delim >= 'A' && delim <= 'Z' {
|
||||
delim = delim + 'A' - 'a'
|
||||
delim = delim - 'A' + 'a'
|
||||
}
|
||||
if delim != 'a' && delim != 'c' && delim != 'g' && delim != 't' {
|
||||
log.Fatalf("invalid reverse tag delimiter: %c, only 'a', 'c', 'g', 't' and '0' are allowed", delim)
|
||||
|
Reference in New Issue
Block a user