From 093795d37cb42b73f7620e1d3a6d70b4d16fa692 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 22 Sep 2005 15:53:18 +0000 Subject: [PATCH] Create Instance of FormatAdapter --- src/jalview/ws/JPredClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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