{
sb.append(String.format("%s %d-%d %s", type, begin, end, description));
}
+ if (!Float.isNaN(score) && score != 0f)
+ {
+ sb.append(" score=").append(score);
+ }
if (featureGroup != null)
{
sb.append(" (").append(featureGroup).append(")");
{
desc = String.format("%s %d-%d", sf.getType(), start, end);
}
+ String description = sf.getDescription();
+ if (description != null)
+ {
+ if (description.length() <= 6)
+ {
+ desc = desc + " " + description;
+ }
+ else
+ {
+ desc = desc + " " + description.substring(0, 6) + "..";
+ }
+ }
if (sf.getFeatureGroup() != null)
{
desc = desc + " (" + sf.getFeatureGroup() + ")";