From: amwaterhouse Date: Fri, 18 Aug 2006 16:54:54 +0000 (+0000) Subject: Check colourScheme is not null - jalview prior 2.5 incompatibility X-Git-Tag: Release_2_1~29 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c8d150be394e2acf91a600a588492b44aa172052;p=jalview.git Check colourScheme is not null - jalview prior 2.5 incompatibility --- 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();