From 0f8cea7f983659c38aa354c7d7cf5b3e76aa9d94 Mon Sep 17 00:00:00 2001 From: tamerh Date: Thu, 10 Oct 2019 14:51:43 +0100 Subject: [PATCH] update --- update/ontology.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/update/ontology.go b/update/ontology.go index b52c925..f8d5344 100644 --- a/update/ontology.go +++ b/update/ontology.go @@ -137,7 +137,13 @@ func (g *ontology) update() { } if r.Childs["rdfs:label"] != nil { + attr.Name = r.Childs["rdfs:label"][0].InnerText + + if g.source == "efo" { + g.d.addXref(attr.Name, textLinkID, entryid, g.source, true) + } + } if r.Childs["oboInOwl:hasOBONamespace"] != nil {