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
|
delim = 0
|
||||||
} else {
|
} else {
|
||||||
if delim >= 'A' && delim <= 'Z' {
|
if delim >= 'A' && delim <= 'Z' {
|
||||||
delim = delim + 'A' - 'a'
|
delim = delim - 'A' + 'a'
|
||||||
}
|
}
|
||||||
if delim != 'a' && delim != 'c' && delim != 'g' && delim != 't' {
|
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)
|
log.Fatalf("invalid reverse tag delimiter: %c, only 'a', 'c', 'g', 't' and '0' are allowed", delim)
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
// TODO: The version number is extracted from git. This induces that the version
|
// TODO: The version number is extracted from git. This induces that the version
|
||||||
// corresponds to the last commit, and not the one when the file will be
|
// corresponds to the last commit, and not the one when the file will be
|
||||||
// commited
|
// commited
|
||||||
var _Commit = "d600713"
|
var _Commit = "170593b"
|
||||||
var _Version = "Release 4.2.0"
|
var _Version = "Release 4.2.0"
|
||||||
|
|
||||||
// Version returns the version of the obitools package.
|
// Version returns the version of the obitools package.
|
||||||
|
Reference in New Issue
Block a user