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:
Eric Coissac
2025-03-25 16:44:46 +01:00
parent 2ab6f67d58
commit 5a3705b6bb
52 changed files with 151 additions and 90 deletions
+10 -5
View File
@@ -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