diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index 35ce79a..f2bc264 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 = "ccd3b06" +var _Commit = "4fe0db6" var _Version = "Release 4.2.0" // Version returns the version of the obitools package. diff --git a/pkg/obitools/obigrep/options.go b/pkg/obitools/obigrep/options.go index e11a03f..48ce998 100644 --- a/pkg/obitools/obigrep/options.go +++ b/pkg/obitools/obigrep/options.go @@ -67,11 +67,6 @@ func TaxonomySelectionOptionSet(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.ArgName("FILENAME"), options.Description(" 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) { obiconvert.OptionSet(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 { diff --git a/pkg/obitools/obiscript/options.go b/pkg/obitools/obiscript/options.go index 3526bb6..3de95eb 100644 --- a/pkg/obitools/obiscript/options.go +++ b/pkg/obitools/obiscript/options.go @@ -17,8 +17,7 @@ func ScriptOptionSet(options *getoptions.GetOpt) { options.StringVar(&_script, "script", _script, options.Description("The script to execute."), - options.Alias("S"), - options.Description("Name of a map attribute.")) + options.Alias("S")) options.BoolVar(&_askTemplate, "template", _askTemplate, options.Description("Print on the standard output a script template."),