JAL-2871 JAL-2877 config filepath reference changed to /resources
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Wed, 20 Dec 2017 14:10:06 +0000 (14:10 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Wed, 20 Dec 2017 14:10:06 +0000 (14:10 +0000)
src/jalview/ext/archaeopteryx/AptxInit.java

index 9d248d0..aaccfe8 100644 (file)
@@ -1,6 +1,7 @@
 package jalview.ext.archaeopteryx;
 
 import jalview.analysis.TreeBuilder;
+import jalview.bin.Cache;
 import jalview.datamodel.SequenceI;
 import jalview.ext.treeviewer.ExternalTreeBuilderI;
 import jalview.ext.treeviewer.ExternalTreeViewerBindingI;
@@ -52,8 +53,10 @@ import org.forester.util.ForesterUtil;
  */
 public final class AptxInit
 {
+  // yet to add user preferred config
   private final static Configuration APTX_CONFIG = new Configuration(
-          "_aptx_jalview_configuration_file",
+          Cache.getDefault("APTXCONFIG",
+                  "resources/_aptx_jalview_configuration_file.txt"),
             false, false, false);
 
   private final static boolean VALIDATE_PHYLOXML_XSD = APTX_CONFIG