}
av.setGlobalColourScheme(new UserColourScheme(newColours));
-
- // gap colour not specified so gap colour is null
- // this is consistent with previous behaviour, but may not be correct?
- assertEquals(null, rcf.getResidueColour(true, av.getResidueShading(),
+ rcf = new ResidueColourFinder(Color.blue);
+ // gap colour not specified so gap colour is default for RCF
+ assertEquals(Color.blue, rcf.getResidueColour(true, av.getResidueShading(),
null, seq, 3, null));
+
newColours[23] = Color.pink;
av.setGlobalColourScheme(new UserColourScheme(newColours));