git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232fd33
)
JAL-1842 adjust code to match changed semantics of FeatureSettingsModelI
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 6 Feb 2020 16:24:46 +0000
(16:24 +0000)
committer
Jim Procter
<j.procter@dundee.ac.uk>
Thu, 2 Sep 2021 13:09:07 +0000
(14:09 +0100)
src/jalview/ext/ensembl/EnsemblGene.java
patch
|
blob
|
history
diff --git
a/src/jalview/ext/ensembl/EnsemblGene.java
b/src/jalview/ext/ensembl/EnsemblGene.java
index
0e3d84b
..
ac756fc
100644
(file)
--- a/
src/jalview/ext/ensembl/EnsemblGene.java
+++ b/
src/jalview/ext/ensembl/EnsemblGene.java
@@
-628,10
+628,10
@@
public class EnsemblGene extends EnsemblSeqProxy
SequenceOntologyI so = SequenceOntologyFactory.getInstance();
@Override
- public boolean isFeatureDisplayed(String type)
+ public boolean isFeatureHidden(String type)
{
- return (so.isA(type, SequenceOntologyI.EXON)
- || so.isA(type, SequenceOntologyI.SEQUENCE_VARIANT));
+ return (!so.isA(type, SequenceOntologyI.EXON)
+ && !so.isA(type, SequenceOntologyI.SEQUENCE_VARIANT));
}
@Override