public void updateAnnotation(boolean applyGlobalSettings)
{
+ // TODO: this should be merged with other annotation update stuff - that sits on AlignViewport
boolean updateCalcs = false;
boolean conv = av.isShowGroupConservation();
boolean cons = av.isShowGroupConsensus();
AlignmentAnnotation[] aan = av.alignment.getAlignmentAnnotation();
Hashtable oldrfs = new Hashtable();
+ if (aan != null)
+ {
for (int an = 0; an < aan.length; an++)
{
if (aan[an].autoCalculated && aan[an].groupRef != null)
aan[an] = null;
}
}
+ }
SequenceGroup sg;
+ if (gr != null)
+ {
for (int g = 0; g < gr.size(); g++)
{
updateCalcs = false;
sg.recalcConservation();
}
}
+ }
oldrfs.clear();
adjustAnnotationHeight();
}