From: amwaterhouse Date: Thu, 18 Aug 2005 14:26:01 +0000 (+0000) Subject: Return if UNIPROT_CACHE is null X-Git-Tag: Release_2_04~48 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=edcfc8e056dd4a3b4650ba13425c83334efc5b59;p=jalview.git Return if UNIPROT_CACHE is null --- diff --git a/src/jalview/io/SequenceFeatureFetcher.java b/src/jalview/io/SequenceFeatureFetcher.java index 89d84b0..0c82f6f 100755 --- a/src/jalview/io/SequenceFeatureFetcher.java +++ b/src/jalview/io/SequenceFeatureFetcher.java @@ -414,6 +414,9 @@ public class SequenceFeatureFetcher implements Runnable try { + if(jalview.bin.Cache.getProperty("UNIPROT_CACHE")==null) + return; + BufferedReader in = new BufferedReader(new FileReader( jalview.bin.Cache.getProperty("UNIPROT_CACHE"))); @@ -450,6 +453,9 @@ public class SequenceFeatureFetcher implements Runnable try { + if(jalview.bin.Cache.getProperty("UNIPROT_CACHE")==null) + return; + BufferedReader in = new BufferedReader(new FileReader( jalview.bin.Cache.getProperty("UNIPROT_CACHE")));