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:
84c4f9a
)
JAL-2489 bug fix
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 25 Apr 2017 11:45:36 +0000
(12:45 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 25 Apr 2017 11:45:36 +0000
(12:45 +0100)
src/jalview/io/JSONFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/JSONFile.java
b/src/jalview/io/JSONFile.java
index
053a65e
..
583bbc0
100644
(file)
--- a/
src/jalview/io/JSONFile.java
+++ b/
src/jalview/io/JSONFile.java
@@
-767,7
+767,8
@@
public class JSONFile extends AlignFile implements ComplexAlignFile
}
}
}
- globalColourScheme = viewport.getGlobalColourScheme().getSchemeName();
+ globalColourScheme = (viewport.getGlobalColourScheme() == null) ? ResidueColourScheme.NONE
+ : viewport.getGlobalColourScheme().getSchemeName();
setDisplayedFeatures(viewport.getFeaturesDisplayed());
showSeqFeatures = viewport.isShowSequenceFeatures();