From 7e098a7a06916ca4fae55d016e88dd4572f62b2d Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Fri, 30 Jul 2004 12:55:10 +0000
Subject: [PATCH] ignore HD * confidential EMBL pre-submission line

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@1753 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 uk/ac/sanger/artemis/io/LineGroup.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/uk/ac/sanger/artemis/io/LineGroup.java b/uk/ac/sanger/artemis/io/LineGroup.java
index d126cbbc8..67f2a38c4 100644
--- a/uk/ac/sanger/artemis/io/LineGroup.java
+++ b/uk/ac/sanger/artemis/io/LineGroup.java
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/LineGroup.java,v 1.1 2004-06-09 09:49:46 tjc Exp $
+ * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/LineGroup.java,v 1.2 2004-07-30 12:55:10 tjc Exp $
  */
 
 package uk.ac.sanger.artemis.io;
@@ -37,7 +37,7 @@ import uk.ac.sanger.artemis.util.LinePushBackReader;
  *  that start with FT.
  *
  *  @author Kim Rutherford
- *  @version $Id: LineGroup.java,v 1.1 2004-06-09 09:49:46 tjc Exp $
+ *  @version $Id: LineGroup.java,v 1.2 2004-07-30 12:55:10 tjc Exp $
  *
  */
 
@@ -257,7 +257,8 @@ abstract class LineGroup
         (line.length () == 2 ||
          line.length () == 3 && line.endsWith (" ") ||
          line.length () == 4 && line.endsWith ("  ") ||
-         line.length () >= 5 && line.substring (2,5).equals ("   "))) 
+         (line.length () >= 5 && line.substring (2,5).equals ("   ") || 
+          line.startsWith("HD * confidential") )))                       // EMBL pre-submission line
     {
 
       if(line.startsWith (EMBL_FEATURE_STRING)) 
-- 
GitLab