ensure annotationElements in non-graphical annotation objects do not automatically...
[jalview.git] / src / jalview / io / VamsasAppDatastore.java
index 82e9fba..dbd0a63 100644 (file)
@@ -628,7 +628,10 @@ public class VamsasAppDatastore
                 // of
                 // utf8
                 // translation
-                ae.addValue(aa[i].annotations[a].value);
+                if (an.isGraph())
+                {
+                  ae.addValue(aa[i].annotations[a].value);
+                }
                 ae.setPosition(a + 1);
                 if (aa[i].annotations[a].secondaryStructure != ' ')
                 {