From a218e5dc40d9639991d23c3e290aac000192d4ae Mon Sep 17 00:00:00 2001
From: tcarver <tjc>
Date: Thu, 15 Aug 2013 14:57:35 +0100
Subject: [PATCH] for GFF do not display exons of non-coding transcripts on
 frame lines

---
 uk/ac/sanger/artemis/components/FeatureDisplay.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/uk/ac/sanger/artemis/components/FeatureDisplay.java b/uk/ac/sanger/artemis/components/FeatureDisplay.java
index af6211e48..660625cac 100644
--- a/uk/ac/sanger/artemis/components/FeatureDisplay.java
+++ b/uk/ac/sanger/artemis/components/FeatureDisplay.java
@@ -2645,7 +2645,7 @@ public class FeatureDisplay extends EntryGroupPanel
   
   /**
    * Check if this feature is an exon and is a child of a non-coding transcript
-   * and is part of a database entry.
+   * and is part of a GFF or database entry.
    * @param feature
    * @param key
    * @return
@@ -2653,7 +2653,7 @@ public class FeatureDisplay extends EntryGroupPanel
   private boolean isExonOfNonCodingTranscript(final Feature feature, final String key)
   {
     if(key.equals(DatabaseDocument.EXONMODEL) && 
-       GeneUtils.isDatabaseEntry(getEntryGroup()))
+       GeneUtils.isGFFEntry(getEntryGroup()))
     {
       final String nonCodingTranscripts[] = GeneUtils.getNonCodingTranscripts();
       try
-- 
GitLab