Refactoring of all SequenceAnnotation web services
[jabaws.git] / webservices / compbio / ws / client / IOHelper.java
index 88b695a..137c570 100644 (file)
@@ -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