import jalview.api.structures.JalviewStructureDisplayI;
import jalview.bin.Cache;
+import jalview.bin.Console;
import jalview.bin.Jalview;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.SequenceI;
}
};
};
- if (ignoreGui || seqsWithoutSourceDBRef
- .size() < THRESHOLD_WARN_UNIPROT_FETCH_NEEDED)
+ 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();