From: amwaterhouse Date: Wed, 15 Jun 2005 15:06:22 +0000 (+0000) Subject: use .jalview.uniprot.xml X-Git-Tag: Release_2_0~20 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=06aa9445b88921bd7930421058fcb7fe49365651;p=jalview.git use .jalview.uniprot.xml --- diff --git a/src/jalview/io/SequenceFeatureFetcher.java b/src/jalview/io/SequenceFeatureFetcher.java index bb404d8..cdd628b 100755 --- a/src/jalview/io/SequenceFeatureFetcher.java +++ b/src/jalview/io/SequenceFeatureFetcher.java @@ -46,16 +46,11 @@ public class SequenceFeatureFetcher implements Runnable { } public void run() { - String cache = jalview.bin.Cache.getProperty("UNIPROT_CACHE"); RandomAccessFile out = null; try { - if (cache == null) { - jalview.bin.Cache.setProperty("UNIPROT_CACHE", - System.getProperty("user.home") + "/.jalview.uniprot.xml"); - cache = jalview.bin.Cache.getProperty("UNIPROT_CACHE"); - } + String cache = System.getProperty("user.home") + "/.jalview.uniprot.xml"; File test = new File(cache); @@ -117,7 +112,6 @@ public class SequenceFeatureFetcher implements Runnable { ex.printStackTrace(); } - jalview.gui.PaintRefresher.Refresh(null, align); findMissingIds(align); if (sbuffer.length() > 0) { @@ -133,6 +127,8 @@ public class SequenceFeatureFetcher implements Runnable { //ignore for now!!!!!!!!!! // WSWUBlastClient blastClient = new WSWUBlastClient(align, unknownSequences); } + + jalview.gui.PaintRefresher.Refresh(null, align); } void ReadUniprotFile(String[] result, RandomAccessFile out, AlignmentI align) {