Merge branch 'develop' into features/JAL-2094_colourInterface
[jalview.git] / src / jalview / io / AnnotationFile.java
index 9ef9ee8..ad3b630 100755 (executable)
@@ -1763,6 +1763,10 @@ public class AnnotationFile
    */
   public String printCSVAnnotations(AlignmentAnnotation[] annotations)
   {
+    if (annotations == null)
+    {
+      return "";
+    }
     StringBuffer sp = new StringBuffer();
     for (int i = 0; i < annotations.length; i++)
     {