JAL-1294 JAL-1325 store graphline for individual annotation rows.
[jalview.git] / src / jalview / io / AnnotationFile.java
index b3a22df..bd536f3 100755 (executable)
@@ -338,12 +338,15 @@ public class AnnotationFile
           rowprops.append(row.centreColLabels);
           rowprops.append(newline);
         }
+        if (graphLine.length()>0) {
+          text.append(graphLine.toString());
+          graphLine.setLength(0);
+        }
       }
 
       text.append(newline);
 
       text.append(colours.toString());
-      text.append(graphLine.toString());
       if (graphGroup.size() > 0)
       {
         SequenceI oldRefSeq = refSeq;