From fbb2be65b1e9fb72a250d9dfda61526621687de6 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 13 Jul 2007 15:00:56 +0000 Subject: [PATCH] basic idea for recognising that a feature is a coding region. --- src/jalview/datamodel/FeatureProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/datamodel/FeatureProperties.java b/src/jalview/datamodel/FeatureProperties.java index 7eadf7b..d81a31c 100644 --- a/src/jalview/datamodel/FeatureProperties.java +++ b/src/jalview/datamodel/FeatureProperties.java @@ -18,7 +18,7 @@ public class FeatureProperties */ public static boolean isCodingFeature(String dbrefsource, String type) { - return ((dbrefsource==null || dbrefsource.equalsIgnoreCase(DBRefSource.EMBL)) + return ((dbrefsource==null || dbrefsource.equalsIgnoreCase(DBRefSource.EMBL) || dbrefsource.equalsIgnoreCase(DBRefSource.EMBLCDS)) && type.equalsIgnoreCase("CDS")); } } -- 1.7.10.2