hasIcons = true;
}
- if (annotations[i].secondaryStructure != 'H'
- && annotations[i].secondaryStructure != 'E'
- && annotations[i].secondaryStructure != '-')
+ if (annotations[i].displayCharacter.length()==1
+ && !annotations[i].displayCharacter.equals("H")
+ && !annotations[i].displayCharacter.equals("E")
+ && !annotations[i].displayCharacter.equals("-"))
{
- nonSSLabel = true;
+ if(jalview.schemes.ResidueProperties.aaIndex
+ [annotations[i].displayCharacter.charAt(0)]>0)
+ {
+ nonSSLabel = true;
+ }
}
if (annotations[i].displayCharacter.length() > 0)
annotations[j].displayCharacter
=String.valueOf(annotations[j].secondaryStructure);
annotations[j].secondaryStructure = ' ';
- if(annotations[j].description.length()<1)
- annotations[j].description = annotations[j].displayCharacter;
}
}