mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Rename obifind obitaxonomy and introduce the new CSV format for taxonomy.
This commit is contained in:
1 parent
c50a0f409d
commit
00f2dc2697
11 files changed
+4571
-55
No files matched your search
@@ -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