uses shared singleton from jalview.gui.SequenceFetcher (consider revising so an insta...
authorjprocter <Jim Procter>
Tue, 26 Aug 2008 10:09:55 +0000 (10:09 +0000)
committerjprocter <Jim Procter>
Tue, 26 Aug 2008 10:09:55 +0000 (10:09 +0000)
src/jalview/ws/DBRefFetcher.java

index b007e13..82b411a 100644 (file)
@@ -31,7 +31,9 @@ import jalview.ws.dbsources.Uniprot;
 import jalview.ws.ebi.EBIFetchClient;\r
 \r
 /**\r
- * DOCUMENT ME!\r
+ * Implements a runnable for validating a sequence \r
+ * against external databases and then propagating \r
+ * references and features onto the sequence(s)\r
  * \r
  * @author $author$\r
  * @version $Revision$\r
@@ -80,7 +82,8 @@ public class DBRefFetcher implements Runnable
         ds[i] = seqs[i];\r
     }\r
     this.dataset = ds;\r
-    sfetcher = new SequenceFetcher();\r
+    // TODO Jalview 2.5 lots of this code should be in the gui package!\r
+    sfetcher = jalview.gui.SequenceFetcher.getSequenceFetcherSingleton(af); \r
     // select appropriate databases based on alignFrame context.\r
     if (af.getViewport().getAlignment().isNucleotide())\r
     {\r