From 1ce5da9bee2c54bc4bc19259f2e7e16639ef578d Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 11 Feb 2026 06:31:03 +0100 Subject: [PATCH 1/2] Support new sequence file formats and improve error handling Add support for .gbff and .gbff.gz file extensions in sequence reader. Update the logic to return an error instead of using NilIBioSequence when no sequence files are found, improving the error handling and user feedback. --- pkg/obitools/obiconvert/sequence_reader.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/obitools/obiconvert/sequence_reader.go b/pkg/obitools/obiconvert/sequence_reader.go index aff14fd..d05c881 100644 --- a/pkg/obitools/obiconvert/sequence_reader.go +++ b/pkg/obitools/obiconvert/sequence_reader.go @@ -68,6 +68,8 @@ func ExpandListOfFiles(check_ext bool, filenames ...string) ([]string, error) { strings.HasSuffix(path, "seq.gz") || strings.HasSuffix(path, "gb") || strings.HasSuffix(path, "gb.gz") || + strings.HasSuffix(path, "gbff") || + strings.HasSuffix(path, "gbff.gz") || strings.HasSuffix(path, "dat") || strings.HasSuffix(path, "dat.gz") || strings.HasSuffix(path, "ecopcr") || @@ -204,7 +206,7 @@ func CLIReadBioSequences(filenames ...string) (obiiter.IBioSequence, error) { iterator = iterator.PairTo(ip) } } else { - iterator = obiiter.NilIBioSequence + return obiiter.NilIBioSequence, fmt.Errorf("no sequence files found in the provided paths") } } From 4c824ef9b7febae40a0f0c897eaad82a6958c9ec Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 11 Feb 2026 06:31:10 +0100 Subject: [PATCH 2/2] Bump version to 4.4.15 Update version from 4.4.14 to 4.4.15 in version.txt and pkg/obioptions/version.go --- pkg/obioptions/version.go | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index ba9e170..f338b2f 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -3,7 +3,7 @@ package obioptions // Version is automatically updated by the Makefile from version.txt // The patch number (third digit) is incremented on each push to the repository -var _Version = "Release 4.4.14" +var _Version = "Release 4.4.15" // Version returns the version of the obitools package. // diff --git a/version.txt b/version.txt index f6d64ee..9613784 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.4.14 +4.4.15