fix for annotation row graphs when graphs are not in annotation.
authorjprocter <Jim Procter>
Tue, 19 Sep 2006 14:14:57 +0000 (14:14 +0000)
committerjprocter <Jim Procter>
Tue, 19 Sep 2006 14:14:57 +0000 (14:14 +0000)
src/jalview/io/VamsasDatastore.java

index cb1a466..63a3e52 100755 (executable)
@@ -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 != ' ')