mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Rename obifind obitaxonomy and introduce the new CSV format for taxonomy.
This commit is contained in:
@ -197,7 +197,7 @@ func (taxonomy *Taxonomy) Len() int {
|
||||
// - A pointer to the newly created Taxon instance.
|
||||
// - An error if the taxon cannot be added (e.g., it already exists and replace is false).
|
||||
func (taxonomy *Taxonomy) AddTaxon(taxid, parent string, rank string, isRoot bool, replace bool) (*Taxon, error) {
|
||||
taxonomy = taxonomy.OrDefault(false)
|
||||
taxonomy = taxonomy.OrDefault(true)
|
||||
|
||||
parentid, perr := taxonomy.Id(parent)
|
||||
if perr != nil {
|
||||
|
Reference in New Issue
Block a user