From: Jim Procter Date: Sun, 7 Jun 2015 18:06:27 +0000 (+0100) Subject: JAL-429 remove pointless code from phylip parser X-Git-Tag: Release_2_10_0~296^2~146 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2ce465aaa3047e1ef758a26af2fbfcf8626b4a69;p=jalview.git JAL-429 remove pointless code from phylip parser --- 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);