Drop target must initialise sequences
authoramwaterhouse <Andrew Waterhouse>
Thu, 9 Feb 2006 14:42:54 +0000 (14:42 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 9 Feb 2006 14:42:54 +0000 (14:42 +0000)
src/jalview/jbgui/GFinder.java

index 2fe4e14..382b33a 100755 (executable)
@@ -165,7 +165,7 @@ public class GFinder
         {\r
           String str = textfield.getText();\r
           SequenceI[] sequences = null;\r
-          try{new FormatAdapter().readFile(str, "Paste", "FASTA");}\r
+          try{sequences = new FormatAdapter().readFile(str, "Paste", "FASTA");}\r
           catch(Exception ex){}\r
           if(sequences!=null && sequences.length>0)\r
           {\r