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:
50bc9bf
)
JAL-1644 added null check for sequence description field
author
Charles Ofoegbu
<tcnofoegbu@dundee.ac.uk>
Mon, 2 Feb 2015 20:34:32 +0000
(20:34 +0000)
committer
Charles Ofoegbu
<tcnofoegbu@dundee.ac.uk>
Mon, 2 Feb 2015 20:34:32 +0000
(20:34 +0000)
src/jalview/analysis/Finder.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/Finder.java
b/src/jalview/analysis/Finder.java
index
224c60a
..
c8c8555
100644
(file)
--- a/
src/jalview/analysis/Finder.java
+++ b/
src/jalview/analysis/Finder.java
@@
-152,7
+152,8
@@
public class Finder
}
}
- if (isIncludeDescription() && regex.search(seq.getDescription()))
+ if (isIncludeDescription() && seq.getDescription() != null
+ && regex.search(seq.getDescription()))
{
idMatch.addElement(seq);
hasResults = true;