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-3187 unit tests updated and errors caught
[jalview.git]
/
src
/
jalview
/
datamodel
/
features
/
SequenceFeatures.java
diff --git
a/src/jalview/datamodel/features/SequenceFeatures.java
b/src/jalview/datamodel/features/SequenceFeatures.java
index
08f3847
..
1120291
100644
(file)
--- a/
src/jalview/datamodel/features/SequenceFeatures.java
+++ b/
src/jalview/datamodel/features/SequenceFeatures.java
@@
-247,7
+247,7
@@
public class SequenceFeatures implements SequenceFeaturesI
List<FeatureStore> types = new ArrayList<>();
for (String theType : type)
{
- if (featureStore.containsKey(theType))
+ if (theType != null && featureStore.containsKey(theType))
{
types.add(featureStore.get(theType));
}