\r
public void recalcConservation()\r
{\r
+ System.out.println("sg recalc");\r
if (cs != null)\r
{\r
cs.setConsensus(AAFrequency.calculate(sequences, 0, getWidth()));\r
}\r
\r
+ if (cs instanceof ClustalxColourScheme)\r
+ {\r
+ ( (ClustalxColourScheme) cs).resetClustalX(sequences,getWidth());\r
+ }\r
+\r
+\r
if ( cs instanceof ConservationColourScheme)\r
{\r
Conservation c = new Conservation(groupName,\r
\r
ConservationColourScheme ccs = (ConservationColourScheme) cs;\r
ccs.conserve = c;\r
+ if (ccs.cs instanceof ClustalxColourScheme)\r
+ {\r
+ ( (ClustalxColourScheme) ccs.cs).resetClustalX(sequences, getWidth());\r
+ }\r
+\r
}\r
}\r
\r