mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Two small corrections on options
This commit is contained in:
@ -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 = "ccd3b06"
|
var _Commit = "4fe0db6"
|
||||||
var _Version = "Release 4.2.0"
|
var _Version = "Release 4.2.0"
|
||||||
|
|
||||||
// Version returns the version of the obitools package.
|
// Version returns the version of the obitools package.
|
||||||
|
@ -67,11 +67,6 @@ func TaxonomySelectionOptionSet(options *getoptions.GetOpt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func SequenceSelectionOptionSet(options *getoptions.GetOpt) {
|
func SequenceSelectionOptionSet(options *getoptions.GetOpt) {
|
||||||
TaxonomySelectionOptionSet(options)
|
|
||||||
options.StringVar(&_SaveRejected, "save-discarded", _SaveRejected,
|
|
||||||
options.ArgName("FILENAME"),
|
|
||||||
options.Description("Indicates in which file not selected sequences must be saved."))
|
|
||||||
|
|
||||||
options.StringVar(&_IdList, "id-list", _IdList,
|
options.StringVar(&_IdList, "id-list", _IdList,
|
||||||
options.ArgName("FILENAME"),
|
options.ArgName("FILENAME"),
|
||||||
options.Description("<FILENAME> points to a text file containing the list of sequence record identifiers to be selected."+
|
options.Description("<FILENAME> points to a text file containing the list of sequence record identifiers to be selected."+
|
||||||
@ -168,6 +163,10 @@ func SequenceSelectionOptionSet(options *getoptions.GetOpt) {
|
|||||||
func OptionSet(options *getoptions.GetOpt) {
|
func OptionSet(options *getoptions.GetOpt) {
|
||||||
obiconvert.OptionSet(options)
|
obiconvert.OptionSet(options)
|
||||||
SequenceSelectionOptionSet(options)
|
SequenceSelectionOptionSet(options)
|
||||||
|
|
||||||
|
options.StringVar(&_SaveRejected, "save-discarded", _SaveRejected,
|
||||||
|
options.ArgName("FILENAME"),
|
||||||
|
options.Description("Indicates in which file not selected sequences must be saved."))
|
||||||
}
|
}
|
||||||
|
|
||||||
func CLIMinSequenceLength() int {
|
func CLIMinSequenceLength() int {
|
||||||
|
@ -17,8 +17,7 @@ func ScriptOptionSet(options *getoptions.GetOpt) {
|
|||||||
|
|
||||||
options.StringVar(&_script, "script", _script,
|
options.StringVar(&_script, "script", _script,
|
||||||
options.Description("The script to execute."),
|
options.Description("The script to execute."),
|
||||||
options.Alias("S"),
|
options.Alias("S"))
|
||||||
options.Description("Name of a map attribute."))
|
|
||||||
|
|
||||||
options.BoolVar(&_askTemplate, "template", _askTemplate,
|
options.BoolVar(&_askTemplate, "template", _askTemplate,
|
||||||
options.Description("Print on the standard output a script template."),
|
options.Description("Print on the standard output a script template."),
|
||||||
|
Reference in New Issue
Block a user