JAL-1919 updated PDBSequenceFetcherTest and JMol parser config settings to enable...
[jalview.git] / src / jalview / bin / Cache.java
index cd875c9..dde67de 100755 (executable)
@@ -21,7 +21,7 @@
 package jalview.bin;
 
 import jalview.datamodel.DBRefSource;
-import jalview.ws.dbsources.Pdb;
+import jalview.structure.StructureViewSettings;
 import jalview.ws.dbsources.das.api.DasSourceRegistryI;
 import jalview.ws.dbsources.das.datamodel.DasSourceRegistry;
 import jalview.ws.sifts.SiftsSettings;
@@ -228,7 +228,7 @@ public class Cache
 
   private final static String DEFAULT_FAIL_SAFE_PID_THRESHOLD = "30";
 
-  private final static String DEFAULT_STRUCTURE_FORMAT = DBRefSource.MMCIF;
+  private final static String DEFAULT_STRUCTURE_FORMAT = DBRefSource.PDB;
 
   /**
    * Initialises the Jalview Application Log
@@ -426,7 +426,8 @@ public class Cache
     System.out
             .println("Jalview Version: " + codeVersion + codeInstallation);
 
-    Pdb.setCurrentDefaultFomart(jalview.bin.Cache.getDefault(
+    StructureViewSettings.setCurrentDefaultFormat(jalview.bin.Cache
+            .getDefault(
             "DEFAULT_STRUCTURE_FORMAT", DEFAULT_STRUCTURE_FORMAT));
     // jnlpVersion will be null if we're using InstallAnywhere
     // Dont do this check if running in headless mode