{
if (aa.autoCalculated && aa.label.startsWith("StrucConsensus"))
{
- if (aa.groupRef != null && aa.groupRef.consensusData != null
+ // TODO implement group structure consensus
+ /* if (aa.groupRef != null && aa.groupRef.consensusData != null
&& aa.groupRef.isShowSequenceLogo())
{
//TODO check what happens for group selections
aa.groupRef.consensusData[column], aa.groupRef
.getIgnoreGapsConsensus());
}
+ */
// TODO extend annotation row to enable dynamic and static profile data
// to
// be stored
// select rna struct to use for calculation
for (int i = 0; i < aa.length; i++)
{
- if (aa[i].getRNAStruc() != null)
+ if (aa[i].getRNAStruc() != null && aa[i].isValidStruc())
{
rnaStruc = aa[i];
break;