Check colourScheme is not null - jalview prior 2.5 incompatibility
authoramwaterhouse <Andrew Waterhouse>
Fri, 18 Aug 2006 16:54:54 +0000 (16:54 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 18 Aug 2006 16:54:54 +0000 (16:54 +0000)
src/jalview/gui/Jalview2XML_V1.java

index d8dfe62..bc44ab4 100755 (executable)
@@ -293,7 +293,9 @@ public class Jalview2XML_V1
                                 groups[i].getColour());\r
                     }\r
 \r
-                    cs.setThreshold(groups[i].getPidThreshold(), true);\r
+                    if(cs!=null)\r
+                      cs.setThreshold(groups[i].getPidThreshold(), true);\r
+\r
                 }\r
 \r
                 Vector seqs = new Vector();\r