mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch the bug on --out with paired sequence files
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
|||||||
// 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 = "0067152"
|
var _Commit = "573acaf"
|
||||||
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.
|
||||||
|
@ -21,7 +21,7 @@ func BuildPairedFileNames(filename string) (string, string) {
|
|||||||
forward := parts[0] + "_R1"
|
forward := parts[0] + "_R1"
|
||||||
reverse := parts[0] + "_R2"
|
reverse := parts[0] + "_R2"
|
||||||
|
|
||||||
if parts[1] != "" {
|
if len(parts) > 1 && parts[1] != "" {
|
||||||
suffix := "." + parts[1]
|
suffix := "." + parts[1]
|
||||||
forward += suffix
|
forward += suffix
|
||||||
reverse += suffix
|
reverse += suffix
|
||||||
|
Reference in New Issue
Block a user