From: jprocter Date: Fri, 11 Jul 2008 15:07:03 +0000 (+0000) Subject: ensure annotationElements in non-graphical annotation objects do not automatically... X-Git-Tag: Release_2_4~87 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4abf93c290b4ecdf03f81786a98de0287fd2239f;p=jalview.git ensure annotationElements in non-graphical annotation objects do not automatically get values --- 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 != ' ') {