From d4c6c59a2f8f61c4a8f73b76630387bf0b0edd12 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 10 May 2016 17:29:33 +0100 Subject: [PATCH] =?utf8?q?JAL-2103=20don=E2=80=99t=20get=20full-width=20alig?= =?utf8?q?nment=20if=20MSA=20based=20prediction?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/ws/jws1/JPredWSUtils.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/jalview/ws/jws1/JPredWSUtils.java b/src/jalview/ws/jws1/JPredWSUtils.java index 7b74e2a..35447fd 100644 --- a/src/jalview/ws/jws1/JPredWSUtils.java +++ b/src/jalview/ws/jws1/JPredWSUtils.java @@ -10,6 +10,7 @@ import jalview.io.FileParse; import jalview.io.FormatAdapter; import jalview.util.MessageManager; +import java.io.IOException; import java.util.Hashtable; import java.util.List; @@ -134,12 +135,12 @@ public class JPredWSUtils try { // read full alignment if present. - if (full_alignment != null) + if (!msaPred && full_alignment != null) { - fullAlignment = new FormatAdapter().readFromFile(full_alignment, - "FASTA"); + fullAlignment = new FormatAdapter().readFromFile(full_alignment, + "FASTA"); } - } catch (Exception q) + } catch (IOException q) { } finally -- 1.7.10.2