+ public void refresh()
+ {
+
+ if (annotation!=null && ((annotation._rnasecstr == null
+ || lastrefresh != annotation._rnasecstr.hashCode())
+ && annotation.isValidStruc()))
+ {
+ annotation.getRNAStruc();
+ lastrefresh = annotation._rnasecstr.hashCode();
+ numHelix = 0;
+ positionsToHelix = new Hashtable();
+
+ // Figure out number of helices
+ // Length of rnasecstr is the number of pairs of positions that base pair
+ // with each other in the secondary structure
+ for (int x = 0; x < this.annotation._rnasecstr.length; x++)