From 2ce465aaa3047e1ef758a26af2fbfcf8626b4a69 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 7 Jun 2015 19:06:27 +0100 Subject: [PATCH] JAL-429 remove pointless code from phylip parser --- src/jalview/io/PhylipFile.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/jalview/io/PhylipFile.java b/src/jalview/io/PhylipFile.java index ce65eea..d7f6dbc 100644 --- a/src/jalview/io/PhylipFile.java +++ b/src/jalview/io/PhylipFile.java @@ -3,7 +3,6 @@ */ package jalview.io; -import jalview.datamodel.Alignment; import jalview.datamodel.Sequence; import jalview.datamodel.SequenceI; @@ -171,13 +170,6 @@ public class PhylipFile extends AlignFile seqs.add(sequenceElements[i]); } - // create an alignment based on the sequences - Alignment a = new Alignment(sequenceElements); - // add annotations - although comments say addAnnotations - // is used by AppletFormatAdapter, it doesn't say other - // classes should/can not use it - addAnnotations(a); - } catch (IOException e) { System.err.println("Exception parsing PHYLIP file " + e); -- 1.7.10.2