mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-04-30 03:50:39 +00:00
Adds the --silent-warning options to the obitools commands and removes the --pared-with option from some of the obitols commands.
This commit is contained in:
@@ -126,11 +126,16 @@ func PairedFilesOptionSet(options *getoptions.GetOpt) {
|
||||
)
|
||||
}
|
||||
|
||||
func OptionSet(options *getoptions.GetOpt) {
|
||||
obioptions.LoadTaxonomyOptionSet(options, false, false)
|
||||
InputOptionSet(options)
|
||||
OutputOptionSet(options)
|
||||
PairedFilesOptionSet(options)
|
||||
func OptionSet(allow_paired bool) func(options *getoptions.GetOpt) {
|
||||
f := func(options *getoptions.GetOpt) {
|
||||
obioptions.LoadTaxonomyOptionSet(options, false, false)
|
||||
InputOptionSet(options)
|
||||
OutputOptionSet(options)
|
||||
if allow_paired {
|
||||
PairedFilesOptionSet(options)
|
||||
}
|
||||
}
|
||||
return f
|
||||
}
|
||||
|
||||
// Returns true if the number of reads described in the
|
||||
|
||||
Reference in New Issue
Block a user