viewport.alignment.getDataset().addSequence(ds);\r
}\r
else\r
+ {\r
newseq.setDatasetSequence(sequences[i].getDatasetSequence());\r
-\r
+ if(sequences[i].getDatasetSequence().getAnnotation()!=null)\r
+ {\r
+ for(int aa=0; aa<sequences[i].getDatasetSequence().getAnnotation().length; aa++)\r
+ {\r
+ viewport.alignment.addAnnotation(sequences[i].getDatasetSequence().getAnnotation()[aa]);\r
+ }\r
+ }\r
+ }\r
}\r
viewport.setEndSeq(viewport.alignment.getHeight());\r
viewport.alignment.getWidth();\r