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-1081 JAL-841 JAL-1053 JAL-1081 use same selection criteria for secondary structur...
[jalview.git]
/
src
/
jalview
/
schemes
/
RNAHelicesColour.java
diff --git
a/src/jalview/schemes/RNAHelicesColour.java
b/src/jalview/schemes/RNAHelicesColour.java
index
76592ba
..
5518f8f
100644
(file)
--- a/
src/jalview/schemes/RNAHelicesColour.java
+++ b/
src/jalview/schemes/RNAHelicesColour.java
@@
-99,7
+99,8
@@
public class RNAHelicesColour extends ResidueColourScheme
{
// is this a sensible way of determining type of annotation?
- if (annotations[i].getRNAStruc() != null)
+ if (annotations[i].visible && annotations[i].isRNA()
+ && annotations[i].isValidStruc())
{
annotation = annotations[i];
break;