&& firstChar != '-'
&& firstChar < jalview.schemes.ResidueProperties.aaIndex.length)
{
- if (jalview.schemes.ResidueProperties.aaIndex[firstChar] < 23)
+ if (jalview.schemes.ResidueProperties.aaIndex[firstChar] < 23) // TODO: parameterise to gap symbol number
{
nonSSLabel = true;
}
min = annotations[i].value;
}
}
+ // ensure zero is origin for min/max ranges on only one side of zero
+ if (min>0) {
+ min = 0;
+ } else {
+ if (max<0)
+ {
+ max = 0;
+ }
+ }
}
graphMin = min;