+ int threshold = Cache.getDefault("THRESHOLD_WARN_UNIPROT_FETCH",
+ THRESHOLD_WARN_UNIPROT_FETCH_NEEDED);
+ Console.debug("Using Uniprot fetch threshold of " + threshold);
+ if (ignoreGui || seqsWithoutSourceDBRef.size() < threshold)
+ {
+ Executors.defaultThreadFactory().newThread(discoverCanonicalDBrefs)
+ .start();
+ return;
+ }