WRITEABLE_FORMATS and READABLE_FORMATS string []
[jalview.git] / src / jalview / ws / JPredClient.java
index 08d7271..ec3f737 100755 (executable)
@@ -406,7 +406,7 @@ public class JPredClient
           String format = new jalview.io.IdentifyFile().Identify(result.getAligfile(),\r
               "Paste");\r
 \r
-          if (jalview.io.FormatAdapter.formats.contains(format))\r
+          if (jalview.io.FormatAdapter.isValidFormat(format))\r
           {\r
             al = new Alignment(new FormatAdapter().readFile(\r
                 result.getAligfile(), "Paste", format));\r