fileFormat enum wip changes
[jalview.git] / test / jalview / ws / jabaws / JpredJabaStructExportImport.java
index 25fb190..28fb052 100644 (file)
@@ -179,8 +179,8 @@ public class JpredJabaStructExportImport
     try
     {
       // what format would be appropriate for RNAalifold annotations?
-      String aligfileout = new FormatAdapter().formatSequences("PFAM",
-              al.getSequencesArray());
+      String aligfileout = FileFormat.Pfam.getAlignmentFile().print(
+              al.getSequencesArray(), true);
 
       String anfileout = new AnnotationFile()
               .printAnnotationsForAlignment(al);