private int[] getProfileFor(AlignmentAnnotation aa, int column)
{
+ if (aa.autoCalculated && aa.label.startsWith("Consensus")) {
if (aa.groupRef!=null && aa.groupRef.consensusData!=null) {
return AAFrequency.extractProfile(aa.groupRef.consensusData[column],aa.groupRef.getIgnoreGapsConsensus());
}
// TODO extend annotation row to enable dynamic and static profile data to be stored
- if (aa.autoCalculated && aa.groupRef==null && aa.sequenceRef==null && aa.label.equals("Consensus"))
+ if (aa.groupRef==null && aa.sequenceRef==null)
{
return AAFrequency.extractProfile(av.hconsensus[column],av.getIgnoreGapsConsensus());
}
+ }
return null;
}