fix for annotation row graphs when graphs are not in annotation.
[jalview.git] / src / jalview / io / VamsasDatastore.java
index cb1a466..63a3e52 100755 (executable)
@@ -439,7 +439,8 @@ public class VamsasDatastore {
                 // of
                 // utf8
                 // translation
-                ae.addValue(aa[i].annotations[a].value);
+                if (aa[i].graph!=jalview.datamodel.AlignmentAnnotation.NO_GRAPH)
+                  ae.addValue(aa[i].annotations[a].value);
                 ae.setPosition(gapMap[a]+1); // position w.r.t. AlignmentSequence
                 // symbols
                 if (aa[i].annotations[a].secondaryStructure != ' ')