From: jprocter Date: Tue, 19 Sep 2006 14:14:57 +0000 (+0000) Subject: fix for annotation row graphs when graphs are not in annotation. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=064a8ecb63a47eb53ecefd284cf8c352f39c571f;p=jalview.git fix for annotation row graphs when graphs are not in annotation. --- diff --git a/src/jalview/io/VamsasDatastore.java b/src/jalview/io/VamsasDatastore.java index cb1a466..63a3e52 100755 --- a/src/jalview/io/VamsasDatastore.java +++ b/src/jalview/io/VamsasDatastore.java @@ -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 != ' ')