No longer exclusive to SequenceGroups
authoramwaterhouse <Andrew Waterhouse>
Fri, 10 Dec 2004 14:42:12 +0000 (14:42 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 10 Dec 2004 14:42:12 +0000 (14:42 +0000)
src/jalview/schemes/ConservationColourScheme.java

index 1cbc0d4..7acc722 100755 (executable)
@@ -29,12 +29,11 @@ public class ConservationColourScheme extends ResidueColourScheme {
   public int inc = 30;\r
   int colourThreshold =  7;\r
 \r
-  public ConservationColourScheme(SequenceGroup sg)\r
+  public ConservationColourScheme(Conservation cons, ColourSchemeI oldcs)\r
   {\r
     super();\r
-    this.conserve = sg.getConservation();\r
-    colourThreshold = 7;\r
-    this.cs = sg.cs;\r
+    conserve = cons;\r
+    cs = oldcs;\r
   }\r
 \r
   public void setColours(DrawableSequence seq, int j) {\r