\r
import jalview.datamodel.*;\r
import jalview.gui.*;\r
-import jalview.schemes.*;\r
\r
public class HTMLOutput\r
{\r
\r
for (int res = 0; res < seq.getLength(); res++)\r
{\r
+ if (!jalview.util.Comparison.isGap(seq.getCharAt(res)))\r
+ {\r
+ color = sr.getResidueBoxColour(seq, res);\r
\r
- color = sr.findSequenceColour(Color.white, seq, res);\r
+ color = fr.findFeatureColour(color, seq, res);\r
+ }\r
+ else\r
+ color = Color.white;\r
\r
- color = fr.findFeatureColour(color, seq, res);\r
\r
if (color.getRGB() < -1)\r
{\r
\r
for (int res = startRes; res < endRes; res++)\r
{\r
- color = sr.findSequenceColour(Color.white, seq, res);\r
+ if (!jalview.util.Comparison.isGap(seq.getCharAt(res)))\r
+ {\r
+ color = sr.getResidueBoxColour(seq, res);\r
\r
- color = fr.findFeatureColour(color, seq, res);\r
+ color = fr.findFeatureColour(color, seq, res);\r
+ }\r
+ else\r
+ color = Color.white;\r
\r
if (color.getRGB() < -1)\r
{\r