use .jalview.uniprot.xml
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Jun 2005 15:06:22 +0000 (15:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Jun 2005 15:06:22 +0000 (15:06 +0000)
src/jalview/io/SequenceFeatureFetcher.java

index bb404d8..cdd628b 100755 (executable)
@@ -46,16 +46,11 @@ public class SequenceFeatureFetcher implements Runnable {
     }\r
 \r
     public void run() {\r
-        String cache = jalview.bin.Cache.getProperty("UNIPROT_CACHE");\r
 \r
         RandomAccessFile out = null;\r
 \r
         try {\r
-            if (cache == null) {\r
-                jalview.bin.Cache.setProperty("UNIPROT_CACHE",\r
-                    System.getProperty("user.home") + "/.jalview.uniprot.xml");\r
-                cache = jalview.bin.Cache.getProperty("UNIPROT_CACHE");\r
-            }\r
+            String cache = System.getProperty("user.home") + "/.jalview.uniprot.xml";\r
 \r
             File test = new File(cache);\r
 \r
@@ -117,7 +112,6 @@ public class SequenceFeatureFetcher implements Runnable {
             ex.printStackTrace();\r
         }\r
 \r
-        jalview.gui.PaintRefresher.Refresh(null, align);\r
         findMissingIds(align);\r
 \r
         if (sbuffer.length() > 0) {\r
@@ -133,6 +127,8 @@ public class SequenceFeatureFetcher implements Runnable {
             //ignore for now!!!!!!!!!!\r
             //  WSWUBlastClient blastClient = new WSWUBlastClient(align, unknownSequences);\r
         }\r
+\r
+        jalview.gui.PaintRefresher.Refresh(null, align);\r
     }\r
 \r
     void ReadUniprotFile(String[] result, RandomAccessFile out, AlignmentI align) {\r