{
if (getConservationSelected())
{
+ int retry = 0;
+ synchronized (this)
+ {
+ while (isCalcInProgress() && retry < 10)
+ {
+ try
+ {
+ wait(50);
+ retry++;
+ } catch (InterruptedException e)
+ {
+ }
+ }
+ }
residueShading.setConservation(hconservation);
}
residueShading.alignmentChanged(alignment, hiddenRepSequences);