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:
609e194
)
avoid null pointer exception when no features visible
author
jprocter
<Jim Procter>
Fri, 19 Dec 2008 15:34:33 +0000
(15:34 +0000)
committer
jprocter
<Jim Procter>
Fri, 19 Dec 2008 15:34:33 +0000
(15:34 +0000)
src/jalview/io/FeaturesFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/FeaturesFile.java
b/src/jalview/io/FeaturesFile.java
index
17ff88f
..
2bc3b4b
100755
(executable)
--- a/
src/jalview/io/FeaturesFile.java
+++ b/
src/jalview/io/FeaturesFile.java
@@
-598,7
+598,7
@@
public class FeaturesFile extends AlignFile
next = seqs[i].getSequenceFeatures();
\r
for (int j = 0; j < next.length; j++)
\r
{
\r
- if (visOnly && !visible.containsKey(next[j].type))
\r
+ if (visOnly && visible!=null && !visible.containsKey(next[j].type))
\r
{
\r
continue;
\r
}
\r