From b0bd6cdf1a4b721e1928d7d549d8020f38f1f148 Mon Sep 17 00:00:00 2001
From: tcarver <tjc>
Date: Thu, 30 May 2013 14:11:03 +0100
Subject: [PATCH] decode feature_cvtermprop values when checking against the
 database

---
 uk/ac/sanger/artemis/chado/ArtemisUtils.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/uk/ac/sanger/artemis/chado/ArtemisUtils.java b/uk/ac/sanger/artemis/chado/ArtemisUtils.java
index 575deb698..a4f65f035 100644
--- a/uk/ac/sanger/artemis/chado/ArtemisUtils.java
+++ b/uk/ac/sanger/artemis/chado/ArtemisUtils.java
@@ -250,6 +250,9 @@ public class ArtemisUtils
       FeatureCvTermProp this_fcp = (FeatureCvTermProp)featureCvTermProps.get(i);
       if(this_fcp.getValue().equals(fcp.getValue()))
         return true;
+
+      if(this_fcp.getValue().equals(GFFStreamFeature.decode(fcp.getValue())))
+        return true;
     }
     return false;
   }
-- 
GitLab