/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
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;