{
String mt = model.getModelTitle() == null ? getDataName()
: model.getModelTitle();
- mt += _lastChainId;
+ if (_lastChainId >= ' ')
+ {
+ mt += _lastChainId;
+ }
AlignmentAnnotation ann = new AlignmentAnnotation(
"Secondary Structure",
"Secondary Structure for " + mt, asecstr);
}
ae.setPosition(a);
- if (aa[i].annotations[a].secondaryStructure != ' '
- && aa[i].annotations[a].secondaryStructure != '\0')
+ if (aa[i].annotations[a].secondaryStructure > ' ')
{
ae.setSecondaryStructure(aa[i].annotations[a].secondaryStructure
+ "");