+ if (annotations!=null && annotations.length>0)
+ {
+ if (g.hasAnnotationRows())
+ { // remove any annotation references.
+ deleteAnnotation(g.getConsensus());// todo - create=false flag so we don't create another object unnecessarily
+ deleteAnnotation(g.getConservationRow());
+ }
+ }