{
float value = 0;
if(ignoreGapsInConsensusCalculation)
- value = ((Float)hconsensus[i].get("pid_nogaps")).floatValue();
+ value = ((Float)hconsensus[i].get(AAFrequency.PID_NOGAPS)).floatValue();
else
- value = ((Float)hconsensus[i].get("pid_gaps")).floatValue();
+ value = ((Float)hconsensus[i].get(AAFrequency.PID_GAPS)).floatValue();
- String maxRes = hconsensus[i].get("maxResidue").toString();
- String mouseOver = hconsensus[i].get("maxResidue") + " ";
+ String maxRes = hconsensus[i].get(AAFrequency.MAXRESIDUE).toString();
+ String mouseOver = maxRes;
if (maxRes.length() > 1)
{
mouseOver = "[" + maxRes + "] ";
// be done to remove redundancy.
CigarArray aligview = getViewAsCigars(selectedOnly);
if (aligview!=null) {
- return new AlignmentView(aligview,
+ return new AlignmentView(aligview,
(selectedOnly && selectionGroup!=null) ? selectionGroup.getStartRes() : 0);
}
return null;