git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git]
/
src
/
jalview
/
datamodel
/
SecondaryStructureAnnotation.java
diff --git
a/src/jalview/datamodel/SecondaryStructureAnnotation.java
b/src/jalview/datamodel/SecondaryStructureAnnotation.java
index
476eb19
..
e395648
100644
(file)
--- a/
src/jalview/datamodel/SecondaryStructureAnnotation.java
+++ b/
src/jalview/datamodel/SecondaryStructureAnnotation.java
@@
-25,7
+25,9
@@
import fr.orsay.lri.varna.models.rna.RNA;
public class SecondaryStructureAnnotation extends AlignmentAnnotation
{
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)
{
public SecondaryStructureAnnotation(RNA rna)
{
@@
-44,7
+46,7
@@
public class SecondaryStructureAnnotation extends AlignmentAnnotation
Annotation[] ann = new Annotation[rna.getSize()];
for (int i = 0; i < ann.length; i++)
{
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;
;
}
return ann;