public class SecondaryStructureAnnotation extends AlignmentAnnotation
{
- private static RNA _rna = null;
+ // was static, but that cannot work here
+
+ private RNA _rna = null;
public SecondaryStructureAnnotation(RNA rna)
{
Annotation[] ann = new Annotation[rna.getSize()];
for (int i = 0; i < ann.length; i++)
{
- ann[i] = new Annotation(_rna.getStructDBN(true), "", ' ', 0f);
+ ann[i] = new Annotation(rna.getStructDBN(true), "", ' ', 0f);
;
}
return ann;