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-653 set the warningMessage for the file source to allow the GUI to report problem...
[jalview.git]
/
src
/
jalview
/
analysis
/
AnnotationSorter.java
diff --git
a/src/jalview/analysis/AnnotationSorter.java
b/src/jalview/analysis/AnnotationSorter.java
index
a5d2164
..
81398eb
100644
(file)
--- a/
src/jalview/analysis/AnnotationSorter.java
+++ b/
src/jalview/analysis/AnnotationSorter.java
@@
-209,6
+209,10
@@
public class AnnotationSorter
public void sort(AlignmentAnnotation[] alignmentAnnotations,
SequenceAnnotationOrder order)
{
+ if (alignmentAnnotations == null)
+ {
+ return;
+ }
// cache 'alignment sequence position' for the annotations
saveSequenceIndices(alignmentAnnotations);