From c8d150be394e2acf91a600a588492b44aa172052 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 18 Aug 2006 16:54:54 +0000 Subject: [PATCH] Check colourScheme is not null - jalview prior 2.5 incompatibility --- src/jalview/gui/Jalview2XML_V1.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML_V1.java b/src/jalview/gui/Jalview2XML_V1.java index d8dfe62..bc44ab4 100755 --- a/src/jalview/gui/Jalview2XML_V1.java +++ b/src/jalview/gui/Jalview2XML_V1.java @@ -293,7 +293,9 @@ public class Jalview2XML_V1 groups[i].getColour()); } - cs.setThreshold(groups[i].getPidThreshold(), true); + if(cs!=null) + cs.setThreshold(groups[i].getPidThreshold(), true); + } Vector seqs = new Vector(); -- 1.7.10.2