From e49f51b882c6d3e6dbcc9e377e21c18b91fbbd5a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 15 Feb 2006 15:24:24 +0000 Subject: [PATCH] Saves and loads sequence description --- src/jalview/gui/Jalview2XML.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 81a6887..993b402 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -183,6 +183,7 @@ public class Jalview2XML vamsasSeq.setId(id + ""); vamsasSeq.setName(jal.getSequenceAt(i).getName()); vamsasSeq.setSequence(jal.getSequenceAt(i).getSequence()); + vamsasSeq.setDescription(jal.getSequenceAt(i).getDescription()); jseq = new JSeq(); jseq.setStart(jal.getSequenceAt(i).getStart()); @@ -654,6 +655,7 @@ public class Jalview2XML { jseqs[i] = new jalview.datamodel.Sequence(vamsasSeq[i].getName(), vamsasSeq[i].getSequence()); + jseqs[i].setDescription( vamsasSeq[i].getDescription() ); jseqs[i].setStart(JSEQ[i].getStart()); jseqs[i].setEnd(JSEQ[i].getEnd()); -- 1.7.10.2