JAL-1191 revert to using SequenceOntologyLite due to downstream
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Oct 2016 14:12:01 +0000 (15:12 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 5 Oct 2016 14:12:01 +0000 (15:12 +0100)
dependencies

src/jalview/bin/Jalview.java
src/jalview/io/gff/SequenceOntologyLite.java

index ce29f01..763b10b 100755 (executable)
@@ -291,9 +291,10 @@ public class Jalview
     }
 
     /*
-     * configure 'full' SO model unless preferences say not to
+     * configure 'full' SO model if preferences say to, 
+     * else use the default (SO Lite)
      */
-    if (!Cache.getDefault("USE_SO_LITE", false))
+    if (Cache.getDefault("USE_FULL_SO", false))
     {
       SequenceOntologyFactory.setInstance(new SequenceOntology());
     }
index 61b34ad..d46dcbe 100644 (file)
@@ -181,9 +181,11 @@ public class SequenceOntologyLite implements SequenceOntologyI
     {
       if (!termsNotFound.contains(term))
       {
-        System.out.println("SO term " + term
-                + " not known - add to model if needed in "
-                + getClass().getName());
+        // suppress logging here as it reports Uniprot sequence features
+        // (which do not use SO terms) when auto-configuring feature colours
+        // System.out.println("SO term " + term
+        // + " not known - add to model if needed in "
+        // + getClass().getName());
         termsNotFound.add(term);
       }
     }