diff --git a/Release-notes.md b/Release-notes.md index 2ff8161..7bdf7f5 100644 --- a/Release-notes.md +++ b/Release-notes.md @@ -10,6 +10,14 @@ - Options **--fasta** or **--fastq** usable to specify input format were ignored. They are now correctly considered + +- The `obiannotate` command were crashing when a selection option was used but + no editing option. + +- The `--fail-on-taxonomy` led to an error on merged taxa even when the + `--update-taxid` option was used. + +- The `--compressed` option was not correctly named. It was renamed to `--compress` ### Enhancement diff --git a/pkg/obidefault/compressed.go b/pkg/obidefault/compressed.go index 76c398f..1136cd9 100644 --- a/pkg/obidefault/compressed.go +++ b/pkg/obidefault/compressed.go @@ -1,15 +1,15 @@ package obidefault -var __compressed__ = false +var __compress__ = false func CompressOutput() bool { - return __compressed__ + return __compress__ } func SetCompressOutput(b bool) { - __compressed__ = b + __compress__ = b } -func CompressedPtr() *bool { - return &__compressed__ +func CompressOutputPtr() *bool { + return &__compress__ } diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index a549e7a..d23f1c8 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -8,7 +8,7 @@ import ( // corresponds to the last commit, and not the one when the file will be // commited -var _Commit = "3b5d4ba" +var _Commit = "f21f51a" var _Version = "Release 4.4.0" // Version returns the version of the obitools package. diff --git a/pkg/obitools/obiconvert/options.go b/pkg/obitools/obiconvert/options.go index 0d9efed..7b4fc28 100644 --- a/pkg/obitools/obiconvert/options.go +++ b/pkg/obitools/obiconvert/options.go @@ -80,7 +80,7 @@ func OutputModeOptionSet(options *getoptions.GetOpt, compressed bool) { options.Description("Disable the progress bar printing")) if compressed { - options.BoolVar(obidefault.CompressedPtr(), "compressed", obidefault.CompressOutput(), + options.BoolVar(obidefault.CompressOutputPtr(), "compress", obidefault.CompressOutput(), options.Alias("Z"), options.Description("Compress all the result using gzip"))