IdentifyFile should not be static
[jalview.git] / src / jalview / ws / JPredClient.java
index 6fd0a4a..d353b51 100755 (executable)
@@ -399,7 +399,7 @@ public class JPredClient
         {\r
           jalview.bin.Cache.log.debug("Getting associated alignment.");\r
           // we ignore the returned alignment if we only predicted on a single sequence\r
-          String format = jalview.io.IdentifyFile.Identify(result.getAligfile(),\r
+          String format = new jalview.io.IdentifyFile().Identify(result.getAligfile(),\r
               "Paste");\r
 \r
           if (jalview.io.FormatAdapter.formats.contains(format))\r