\r
Annotation an = new Annotation();\r
an.setDescription(aa[i].description);\r
- an.setGraph(aa[i].isGraph);\r
+ if(aa[i].graph>0)\r
+ an.setGraph(true);\r
+\r
an.setLabel(aa[i].label);\r
\r
AnnotationElement ae;\r
if (an[i].getGraph())\r
{\r
jaa = new jalview.datamodel.AlignmentAnnotation(an[i].getLabel(),\r
- an[i].getDescription(), anot, 0, 0, 1);\r
+ an[i].getDescription(), anot, 0, 0,\r
+ jalview.datamodel.AlignmentAnnotation.BAR_GRAPH);\r
}\r
else\r
{\r