git://source.jalview.org
/
jabaws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring of all SequenceAnnotation web services
[jabaws.git]
/
webservices
/
compbio
/
ws
/
client
/
IOHelper.java
diff --git
a/webservices/compbio/ws/client/IOHelper.java
b/webservices/compbio/ws/client/IOHelper.java
index
88b695a
..
137c570
100644
(file)
--- a/
webservices/compbio/ws/client/IOHelper.java
+++ b/
webservices/compbio/ws/client/IOHelper.java
@@
-112,6
+112,9
@@
public class IOHelper {
* the AACon scores to output
\r
*/
\r
static void writeOut(Writer writer, ScoreManager results) {
\r
+ if (results == null) {
\r
+ return;
\r
+ }
\r
try {
\r
results.writeOut(writer);
\r
} catch (IOException e) {
\r