return;
}
calcMan.notifyStart(this);
- long started = System.currentTimeMillis();
+ // long started = System.currentTimeMillis();
try
{
AlignmentAnnotation consensus = getConsensusAnnotation();
}
while (!calcMan.notifyWorking(this))
{
- // System.err.println("Thread
+ // jalview.bin.Console.errPrintln("Thread
// (Consensus"+Thread.currentThread().getName()+") Waiting around.");
try
{
protected void eraseConsensus(int aWidth)
{
AlignmentAnnotation consensus = getConsensusAnnotation();
- consensus.annotations = new Annotation[aWidth];
+ if (consensus != null)
+ {
+ consensus.annotations = new Annotation[aWidth];
+ }
AlignmentAnnotation gap = getGapAnnotation();
if (gap != null)
{