+ String shading = ArgParser.getValue(m, Arg.TEMPFAC_SHADING);
+ if (shading != null)
+ {
+ Console.debug(
+ "Annotation colour scheme : " + shading + " (ignored value)");
+ AlignFrame af = afMap.get(id);
+ for (AlignmentAnnotation aa : af.alignPanel.getAlignment()
+ .findAnnotation(PDBChain.class.getName().toString()))
+ {
+ AnnotationColourGradient acg = new AnnotationColourGradient(aa,
+ af.alignPanel.av.getGlobalColourScheme(), 0);
+ acg.setSeqAssociated(true);
+ af.changeColour(acg);
+ Console.info("Changed colour " + acg.toString());
+ }
+
+ }