c -= ('a' - 'A');
}
- if (consensusResidue == null)
+ if (consensusResidue == null || Comparison.isGap(c))
{
return Color.white;
}
String.valueOf(c));
if (matchesConsensus)
{
- if (!Comparison.isGap(c))
+ for (int i = 0; i < thresholds.length; i++)
{
- for (int i = 0; i < thresholds.length; i++)
+ if (pid > thresholds[i])
{
- if (pid > thresholds[i])
- {
- colour = pidColours[i];
- break;
- }
+ colour = pidColours[i];
+ break;
}
}
}