From: amwaterhouse Date: Thu, 22 Sep 2005 15:53:18 +0000 (+0000) Subject: Create Instance of FormatAdapter X-Git-Tag: Release_2_06~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=093795d37cb42b73f7620e1d3a6d70b4d16fa692;p=jalview.git Create Instance of FormatAdapter --- diff --git a/src/jalview/ws/JPredClient.java b/src/jalview/ws/JPredClient.java index 45e331a..8f94e97 100755 --- a/src/jalview/ws/JPredClient.java +++ b/src/jalview/ws/JPredClient.java @@ -26,6 +26,7 @@ import ext.vamsas.*; import jalview.analysis.*; import jalview.datamodel.*; import jalview.gui.*; +import jalview.io.FormatAdapter; public class JPredClient extends WSClient @@ -400,7 +401,7 @@ public class JPredClient if (jalview.io.FormatAdapter.formats.contains(format)) { - al = new Alignment(jalview.io.FormatAdapter.readFile( + al = new Alignment(new FormatAdapter().readFile( result.getAligfile(), "Paste", format)); for (int i=0, j=al.getHeight(); i