{
final String label = aa[selectedRow].label;
if (!(aa[selectedRow].autoCalculated)
- && !(label.indexOf("Information") > -1))
+ && !(label.indexOf("_HMM") > -1))
{
if (aa[selectedRow].graph == AlignmentAnnotation.NO_GRAPH)
{
consclipbrd.addActionListener(this);
pop.add(consclipbrd);
}
- else if (label.indexOf("Information") > -1) // TODO create labels
+ else if (label.indexOf("_HMM") > -1) // TODO create labels
// in message resource
// for these
{
// 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.label.startsWith("Information"))
+ if (aa.label.contains("_HMM"))
{
HiddenMarkovModel hmm = aa.sequenceRef.getHMM();
return AAFrequency.extractHMMProfile(hmm, column,
boolean scaleColLabel = false;
final AlignmentAnnotation consensusAnnot = av
.getAlignmentConsensusAnnotation();
- final AlignmentAnnotation informationAnnot = av
- .getAlignmentInformationAnnotation();
final AlignmentAnnotation structConsensusAnnot = av
.getAlignmentStrucConsensusAnnotation();
final AlignmentAnnotation complementConsensusAnnot = av
renderProfile = av_renderProfile;
normaliseProfile = av_normaliseProfile;
}
- else if (row == informationAnnot)
+ else if (row.label.contains("_HMM"))
{
renderHistogram = av_renderInformationHistogram;
renderProfile = av_renderHMMProfile;