mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 08:10:45 +00:00
patch the scienctific_name tag name to "scientific_name"
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,6 +20,7 @@
|
|||||||
.rhistory
|
.rhistory
|
||||||
/.vscode
|
/.vscode
|
||||||
/build
|
/build
|
||||||
|
/bugs
|
||||||
|
|
||||||
/ncbitaxo
|
/ncbitaxo
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
// corresponds to the last commit, and not the one when the file will be
|
// corresponds to the last commit, and not the one when the file will be
|
||||||
// commited
|
// commited
|
||||||
|
|
||||||
var _Commit = "7b23314"
|
var _Commit = "996ec69"
|
||||||
var _Version = "Release 4.4.0"
|
var _Version = "Release 4.4.0"
|
||||||
|
|
||||||
// Version returns the version of the obitools package.
|
// Version returns the version of the obitools package.
|
||||||
|
@ -205,7 +205,7 @@ func (sequence *BioSequence) SetScientificName(taxonomy *obitax.Taxonomy) string
|
|||||||
taxon := sequence.Taxon(taxonomy)
|
taxon := sequence.Taxon(taxonomy)
|
||||||
name := taxon.ScientificName()
|
name := taxon.ScientificName()
|
||||||
|
|
||||||
sequence.SetAttribute("scienctific_name", name)
|
sequence.SetAttribute("scientific_name", name)
|
||||||
|
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user