From c1dbe6efffaa42be8b0299492426d351b2c9b686 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Mon, 3 Jul 2006 07:33:16 +0000
Subject: [PATCH] Now just change linkage_type to IEA, don't add it to existing
 one.

---
 misc-scripts/xref_projection/project_display_xrefs.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl
index 70da53fa85..4316a4a594 100644
--- a/misc-scripts/xref_projection/project_display_xrefs.pl
+++ b/misc-scripts/xref_projection/project_display_xrefs.pl
@@ -265,7 +265,8 @@ sub project_go_terms {
       #print $dbEntry->display_id() . " " . $et . " " . $projections_by_evidence_type{$et} . "\n";
     }
 
-    # add linkage_type for projection to IEA (in the absence of a specific one for projections)
+    # Change linkage_type to IEA (in the absence of a specific one for projections)
+    $dbEntry->flush_linkage_types();
     $dbEntry->add_linkage_type("IEA");
 
     my $txt = "from $from_latin_species translation " . $from_translation->stable_id();
-- 
GitLab