{
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
if (aa.groupRef == null && aa.sequenceRef == null
- && av_renderProfile)
+ && av_renderProfile && hStrucConsensus!=null && hStrucConsensus.length>column)
{
return StructureFrequency.extractProfile(hStrucConsensus[column],
av_ignoreGapsConsensus);
}
}
}
-
+ if (!row.isValidStruc())
+ {
+ g.setColor(Color.orange);
+ g.fillRect((int)row.getInvalidStrucPos()*charWidth, y, charWidth, charHeight);
+ }
if (validCharWidth
&& validRes
&& row.annotations[column].displayCharacter != null
{
validEnd = true;
}
+ if ((row.annotations == null) || (row.annotations.length <= column)
+ || (row.annotations[column] == null))
+ {
+ validRes = false;
+ }
+ else
+ {
+ validRes = true;
+ }
// x ++;