mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
update the compress option name
This commit is contained in:
@ -10,6 +10,14 @@
|
|||||||
|
|
||||||
- Options **--fasta** or **--fastq** usable to specify input format were ignored.
|
- Options **--fasta** or **--fastq** usable to specify input format were ignored.
|
||||||
They are now correctly considered
|
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
|
### Enhancement
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
package obidefault
|
package obidefault
|
||||||
|
|
||||||
var __compressed__ = false
|
var __compress__ = false
|
||||||
|
|
||||||
func CompressOutput() bool {
|
func CompressOutput() bool {
|
||||||
return __compressed__
|
return __compress__
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetCompressOutput(b bool) {
|
func SetCompressOutput(b bool) {
|
||||||
__compressed__ = b
|
__compress__ = b
|
||||||
}
|
}
|
||||||
|
|
||||||
func CompressedPtr() *bool {
|
func CompressOutputPtr() *bool {
|
||||||
return &__compressed__
|
return &__compress__
|
||||||
}
|
}
|
||||||
|
@ -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 = "3b5d4ba"
|
var _Commit = "f21f51a"
|
||||||
var _Version = "Release 4.4.0"
|
var _Version = "Release 4.4.0"
|
||||||
|
|
||||||
// Version returns the version of the obitools package.
|
// Version returns the version of the obitools package.
|
||||||
|
@ -80,7 +80,7 @@ func OutputModeOptionSet(options *getoptions.GetOpt, compressed bool) {
|
|||||||
options.Description("Disable the progress bar printing"))
|
options.Description("Disable the progress bar printing"))
|
||||||
|
|
||||||
if compressed {
|
if compressed {
|
||||||
options.BoolVar(obidefault.CompressedPtr(), "compressed", obidefault.CompressOutput(),
|
options.BoolVar(obidefault.CompressOutputPtr(), "compress", obidefault.CompressOutput(),
|
||||||
options.Alias("Z"),
|
options.Alias("Z"),
|
||||||
options.Description("Compress all the result using gzip"))
|
options.Description("Compress all the result using gzip"))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user