Code reefactoring

This commit is contained in:
coissac committed 2022-01-14 16:10:19 +01:00
1 parent 45a1765a03
commit ff40222902
13 files changed
+68 -92

No files matched your search

+1 -2
View File
@@ -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
}