From 286e27d6ba1a9eb012f7ab0a113f93cea579f095 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 5 Mar 2025 14:22:12 +0100 Subject: [PATCH] patch the scienctific_name tag name to "scientific_name" --- .gitignore | 1 + pkg/obioptions/version.go | 2 +- pkg/obiseq/taxonomy_methods.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b4a778..dcbc022 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ .rhistory /.vscode /build +/bugs /ncbitaxo diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index 5d68d39..bbc978b 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -8,7 +8,7 @@ import ( // corresponds to the last commit, and not the one when the file will be // commited -var _Commit = "7b23314" +var _Commit = "996ec69" var _Version = "Release 4.4.0" // Version returns the version of the obitools package. diff --git a/pkg/obiseq/taxonomy_methods.go b/pkg/obiseq/taxonomy_methods.go index 3a347b4..c82df82 100644 --- a/pkg/obiseq/taxonomy_methods.go +++ b/pkg/obiseq/taxonomy_methods.go @@ -205,7 +205,7 @@ func (sequence *BioSequence) SetScientificName(taxonomy *obitax.Taxonomy) string taxon := sequence.Taxon(taxonomy) name := taxon.ScientificName() - sequence.SetAttribute("scienctific_name", name) + sequence.SetAttribute("scientific_name", name) return name }