From ac7290bde911df28914634b2edbb1d9c97c6c590 Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Fri, 28 Aug 2009 10:34:32 +0000
Subject: [PATCH] change to getLazyClustersByFeatureIds to include orthologs
 that are connected with a feature_relationship and no match feature

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@11663 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 artemis_sqlmap/Feature.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/artemis_sqlmap/Feature.xml b/artemis_sqlmap/Feature.xml
index 7fc60680e..1324a2c93 100644
--- a/artemis_sqlmap/Feature.xml
+++ b/artemis_sqlmap/Feature.xml
@@ -440,7 +440,7 @@
 	LEFT JOIN cvterm AS cv_fr ON cv_fr.cvterm_id=fr.type_id
 	LEFT JOIN cvterm AS cv_f  ON cv_f.cvterm_id=f.type_id
 	WHERE f.feature_id IN <iterate open="(" close=")" conjunction=","> #[]# </iterate>
-	  AND cv_f.name LIKE '%match%'
+	  AND (cv_fr.name='orthologous_to' OR cv_fr.name='paralogous_to') <!-- cv_f.name LIKE '%match%' -->
   </select>
 
   <select id="getSchema" resultClass="java.lang.String">
-- 
GitLab