Merge branch 'bug/JAL-1643_File-chooser-improvement' into develop
[jalview.git] / src / jalview / ws / rest / params / AnnotationFile.java
index 0268c35..1820182 100644 (file)
@@ -73,9 +73,8 @@ public class AnnotationFile extends InputType
     if (format.equals(JVANNOT))
     {
       return new StringBody(
-              new jalview.io.AnnotationFile().printAnnotations(
-                      al.getAlignmentAnnotation(), al.getGroups(),
-                      al.getProperties()));
+              new jalview.io.AnnotationFile()
+                      .printAnnotationsForAlignment(al));
     }
     else
     {