mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
Code reefactoring
This commit is contained in:
@@ -7,7 +7,6 @@ package obiformats
|
||||
import "C"
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
@@ -89,7 +88,7 @@ func ReadFastSeqBatchFromFile(filename string, options ...WithOption) (obiseq.IB
|
||||
err = nil
|
||||
|
||||
if pointer == nil {
|
||||
err = errors.New(fmt.Sprintf("Cannot open file %s", filename))
|
||||
err = fmt.Errorf("cannot open file %s", filename)
|
||||
return obiseq.NilIBioSequenceBatch, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user