patch the scienctific_name tag name to "scientific_name"

This commit is contained in:
Eric Coissac
2025-03-05 14:22:12 +01:00
parent 996ec69bd9
commit 286e27d6ba
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -20,6 +20,7 @@
.rhistory .rhistory
/.vscode /.vscode
/build /build
/bugs
/ncbitaxo /ncbitaxo

View File

@ -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.

View File

@ -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
} }