clustal probs
authoramwaterhouse <Andrew Waterhouse>
Mon, 13 Jun 2005 12:04:01 +0000 (12:04 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 13 Jun 2005 12:04:01 +0000 (12:04 +0000)
src/jalview/appletgui/SeqPanel.java
src/jalview/gui/SeqPanel.java

index 6e2a544..67b049a 100755 (executable)
@@ -613,12 +613,8 @@ public class SeqPanel
     }\r
     else\r
     {\r
-      if (stretchGroup.cs != null)\r
-      {\r
         SliderPanel.setPIDSliderSource(ap, stretchGroup.cs,\r
                                        stretchGroup.getName());\r
-      }\r
-\r
     }\r
 \r
     changeEndRes = false;\r
index a643ab8..c729554 100755 (executable)
@@ -630,7 +630,8 @@ public class SeqPanel
       ( (ClustalxColourScheme) stretchGroup.cs).resetClustalX(stretchGroup.sequences,\r
                                                      stretchGroup.getWidth());\r
     }\r
-    else if (stretchGroup.cs instanceof ConservationColourScheme)\r
+\r
+    if (stretchGroup.cs instanceof ConservationColourScheme)\r
     {\r
       ConservationColourScheme ccs = (ConservationColourScheme) stretchGroup.cs;\r
       stretchGroup.cs = ccs;\r