import jalview.ws.dbsources.das.api.DasSourceRegistryI;
import jalview.ws.dbsources.das.datamodel.DasSourceRegistry;
+import jalview.ws.sifts.SiftsSettings;
import java.awt.Color;
import java.io.BufferedReader;
codeInstallation = " (" + codeInstallation + ")";
}
new BuildDetails(codeVersion, null, codeInstallation);
+
+ SiftsSettings
+ .setMapWithSifts(Cache.getDefault("MAP_WITH_SIFTS", false));
+
System.out
.println("Jalview Version: " + codeVersion + codeInstallation);
class VersionChecker extends Thread
{
+ @Override
public void run()
{
String orgtimeout = System
if (Cache.getDefault("MAP_WITH_SIFTS", false))
{
siftsMapping.setSelected(true);
- SiftsSettings.setMapWithSifts(true);
}
else
{
nwMapping.setSelected(true);
- SiftsSettings.setMapWithSifts(false);
}
+ SiftsSettings
+ .setMapWithSifts(Cache.getDefault("MAP_WITH_SIFTS", false));
+
/*
* Set Connections tab defaults
*/
DBRefEntry[] dbRefs = seq.getDBRefs();
if (dbRefs == null || dbRefs.length < 1)
{
- // final SequenceI[] seqs = new SequenceI[] { seq };
- // new jalview.ws.DBRefFetcher(seqs, null, null, null, false)
- // .fetchDBRefs(true);
- // dbRefs = seq.getDBRefs();
+ final SequenceI[] seqs = new SequenceI[] { seq };
+ new jalview.ws.DBRefFetcher(seqs, null, null, null, false)
+ .fetchDBRefs(true);
+ dbRefs = seq.getDBRefs();
}
if (dbRefs == null || dbRefs.length < 1)