From: amwaterhouse Date: Wed, 15 Feb 2006 15:24:24 +0000 (+0000) Subject: Saves and loads sequence description X-Git-Tag: Root_VamJalview_2_07b+~131 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e49f51b882c6d3e6dbcc9e377e21c18b91fbbd5a;p=jalview.git Saves and loads sequence description --- 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());