mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
patch a bug related to --count option of obicsv
Former-commit-id: e19e8cc12a99216d24c5e0c5350c273202d84de4
This commit is contained in:
@ -77,9 +77,24 @@ func CLIPrintSequence() bool {
|
||||
}
|
||||
|
||||
func CLIPrintCount() bool {
|
||||
if i := obiutils.LookFor(_keepOnly, "count"); i >= 0 {
|
||||
_keepOnly = obiutils.RemoveIndex(_keepOnly, i)
|
||||
_outputCount = true
|
||||
}
|
||||
|
||||
return _outputCount
|
||||
}
|
||||
func CLIPrintTaxon() bool {
|
||||
if i := obiutils.LookFor(_keepOnly, "taxid"); i >= 0 {
|
||||
_keepOnly = obiutils.RemoveIndex(_keepOnly, i)
|
||||
_outputTaxon = true
|
||||
}
|
||||
|
||||
if i := obiutils.LookFor(_keepOnly, "scientific_name"); i >= 0 {
|
||||
_keepOnly = obiutils.RemoveIndex(_keepOnly, i)
|
||||
_outputTaxon = true
|
||||
}
|
||||
|
||||
return _outputTaxon
|
||||
}
|
||||
func CLIPrintQuality() bool {
|
||||
|
Reference in New Issue
Block a user