/** DOCUMENT ME!! */
public float graphMax;
+ public float score;
+
public GraphLine threshold;
// Graphical hints and tips
public static final int LINE_GRAPH = 2;
+
public static int getGraphValueFromString(String string)
{
if (string.equalsIgnoreCase("BAR_GRAPH"))
hasIcons = true;
}
- if (annotations[i].displayCharacter!=null)
- {
- if (annotations[i].displayCharacter.length() == 1
+ if(annotations[i].displayCharacter==null)
+ continue;
+
+
+ if (annotations[i].displayCharacter.length() == 1
&& !annotations[i].displayCharacter.equals("H")
&& !annotations[i].displayCharacter.equals("E")
&& !annotations[i].displayCharacter.equals("-")
else
padGaps = false;
}
- }
-
if (nonSSLabel)
{
continue;
}
- if (drawValues && annotations[i].displayCharacter!=null && annotations[i].displayCharacter.length() > 1)
+ if (drawValues
+ && annotations[i].displayCharacter!=null
+ && annotations[i].displayCharacter.length() > 1)
{
drawValues = false;
}
}
for (int i=0; i<ann.length; i++)
{
- if (ann[i]==a)
- {
+ if (ann[i]==a)
+ {
sequenceMapping.put(p, annotations[i]);
}
}
public void restrict(int startRes, int endRes)
{
Annotation[] temp = new Annotation[endRes-startRes+1];
- if (startRes<annotations.length)
+ if (startRes<annotations.length)
{
System.arraycopy(annotations, startRes, temp, 0, Math.min(endRes, annotations.length-1)-startRes+1);
}
return true;
}
return annotations.length>length;
-
+
}
/**