for (int g = 0; g < allGroups.size(); g++)\r
{\r
sg = (SequenceGroup) allGroups.get(g);\r
- oldgroupColours.put(sg, sg.cs);\r
+ if(sg.cs!=null)\r
+ oldgroupColours.put(sg, sg.cs);\r
}\r
}\r
this.av = av;\r
slider.setValue( (int) (currentAnnotation.threshold.value * 1000));\r
thresholdValue.setText(currentAnnotation.threshold.value + "");\r
slider.setMajorTickSpacing( (int) (range / 10f));\r
- slider.setMinorTickSpacing( (int) (range / 100f));\r
slider.setEnabled(true);\r
thresholdValue.setEnabled(true);\r
adjusting = false;\r