import jalview.schemes.ResidueProperties;
import jalview.schemes.ZappoColourScheme;
import jalview.util.Platform;
+import jalview.viewmodel.AlignmentViewport.AutoAnnotation;
import java.awt.BasicStroke;
import java.awt.Color;
// properties/rendering attributes as a global 'alignment group' which holds
// all vis settings for the alignment as a whole rather than a subset
//
- if (aa.autoCalculated && (aa.label.startsWith("Consensus")
- || aa.label.startsWith("cDNA Consensus")))
+ if (aa.autoCalculated
+ && (aa.label.startsWith(AutoAnnotation.CONSENSUS.label)
+ || aa.label.startsWith(
+ AutoAnnotation.CDNA_CONSENSUS.label)))
{
- boolean forComplement = aa.label.startsWith("cDNA Consensus");
+ boolean forComplement = aa.label
+ .startsWith(AutoAnnotation.CDNA_CONSENSUS.label);
if (aa.groupRef != null && aa.groupRef.consensusData != null
&& aa.groupRef.isShowSequenceLogo())
{
}
else
{
- if (aa.autoCalculated && aa.label.startsWith("StrucConsensus"))
+ if (aa.autoCalculated && aa.label
+ .startsWith(AutoAnnotation.STRUCTURE_CONSENSUS.label))
{
// TODO implement group structure consensus
/*