Skip to content
Snippets Groups Projects
Commit bc77e390 authored by tjc's avatar tjc
Browse files

add useSRS VM option to force object editor to use SRS

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@13538 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 37b57757
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,13 @@ public class FastaTextPane extends JScrollPane
protected static int MAX_HITS = 70;
private static boolean remoteMfetch = false;
private static boolean forceUrl = false;
static {
if(System.getProperty("useSRS") != null)
forceUrl = true;
}
public static HitInfo[] cacheHits = new HitInfo[BigPane.CACHE_SIZE];
public static int nCacheHits = 0;
private static String mfetchExecutablePath = "/nfs/disk100/pubseq/bin/mfetch";
......@@ -701,7 +708,10 @@ public class FastaTextPane extends JScrollPane
if(!keepRunning)
return;
final boolean isLocalMfetchExists = getMfetchExecutable().exists();
boolean isLocalMfetchExists = getMfetchExecutable().exists();
if(isForceUrl())
isLocalMfetchExists = false;
BufferedReader strbuff = null;
final File fgetz = new File("/usr/local/pubseq/bin/getz");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment