From: amwaterhouse Date: Fri, 10 Dec 2004 14:42:12 +0000 (+0000) Subject: No longer exclusive to SequenceGroups X-Git-Tag: Release_2_0~844 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=342dfe93ddf709ca224f07686cf1032b82e93d70;p=jalview.git No longer exclusive to SequenceGroups --- diff --git a/src/jalview/schemes/ConservationColourScheme.java b/src/jalview/schemes/ConservationColourScheme.java index 1cbc0d4..7acc722 100755 --- a/src/jalview/schemes/ConservationColourScheme.java +++ b/src/jalview/schemes/ConservationColourScheme.java @@ -29,12 +29,11 @@ public class ConservationColourScheme extends ResidueColourScheme { public int inc = 30; int colourThreshold = 7; - public ConservationColourScheme(SequenceGroup sg) + public ConservationColourScheme(Conservation cons, ColourSchemeI oldcs) { super(); - this.conserve = sg.getConservation(); - colourThreshold = 7; - this.cs = sg.cs; + conserve = cons; + cs = oldcs; } public void setColours(DrawableSequence seq, int j) {