ensure annotationElements in non-graphical annotation objects do not automatically...
authorjprocter <Jim Procter>
Fri, 11 Jul 2008 15:07:03 +0000 (15:07 +0000)
committerjprocter <Jim Procter>
Fri, 11 Jul 2008 15:07:03 +0000 (15:07 +0000)
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 != ' ')
                 {