From 8fa2d1c4ad8c9621090d679deb17e776fd282e0c Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 9 Feb 2006 14:42:54 +0000 Subject: [PATCH] Drop target must initialise sequences --- src/jalview/jbgui/GFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/jbgui/GFinder.java b/src/jalview/jbgui/GFinder.java index 2fe4e14..382b33a 100755 --- a/src/jalview/jbgui/GFinder.java +++ b/src/jalview/jbgui/GFinder.java @@ -165,7 +165,7 @@ public class GFinder { String str = textfield.getText(); SequenceI[] sequences = null; - try{new FormatAdapter().readFile(str, "Paste", "FASTA");} + try{sequences = new FormatAdapter().readFile(str, "Paste", "FASTA");} catch(Exception ex){} if(sequences!=null && sequences.length>0) { -- 1.7.10.2