Saves and loads sequence description
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:24:24 +0000 (15:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Feb 2006 15:24:24 +0000 (15:24 +0000)
src/jalview/gui/Jalview2XML.java

index 81a6887..993b402 100755 (executable)
@@ -183,6 +183,7 @@ public class Jalview2XML
             vamsasSeq.setId(id + "");\r
             vamsasSeq.setName(jal.getSequenceAt(i).getName());\r
             vamsasSeq.setSequence(jal.getSequenceAt(i).getSequence());\r
+            vamsasSeq.setDescription(jal.getSequenceAt(i).getDescription());\r
 \r
             jseq = new JSeq();\r
             jseq.setStart(jal.getSequenceAt(i).getStart());\r
@@ -654,6 +655,7 @@ public class Jalview2XML
         {\r
             jseqs[i] = new jalview.datamodel.Sequence(vamsasSeq[i].getName(),\r
                     vamsasSeq[i].getSequence());\r
+            jseqs[i].setDescription( vamsasSeq[i].getDescription() );\r
 \r
             jseqs[i].setStart(JSEQ[i].getStart());\r
             jseqs[i].setEnd(JSEQ[i].getEnd());\r