From 4abf93c290b4ecdf03f81786a98de0287fd2239f Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 11 Jul 2008 15:07:03 +0000 Subject: [PATCH] ensure annotationElements in non-graphical annotation objects do not automatically get values --- src/jalview/io/VamsasAppDatastore.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jalview/io/VamsasAppDatastore.java b/src/jalview/io/VamsasAppDatastore.java index 82e9fba..dbd0a63 100644 --- a/src/jalview/io/VamsasAppDatastore.java +++ b/src/jalview/io/VamsasAppDatastore.java @@ -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 != ' ') { -- 1.7.10.2