// private key for ENA location designed not to conflict with real GFF data
private static final String LOCATION = "!Location";
- private static final String ROW_DATA = "<tr><td width=\"10%%\">%s</td><td width=\"50%%\">%s</td><td width=\"40%%\">%s</td></tr>";
+ private static final String ROW_DATA = "<tr><td>%s</td><td>%s</td><td>%s</td></tr>";
/*
* map of otherDetails special keys, and their value fields' delimiter
this(newType, sf.getDescription(), newBegin, newEnd, newScore,
newGroup);
+ this.source = sf.source;
+
if (sf.otherDetails != null)
{
otherDetails = new HashMap<String, Object>();
return true;
}
- FeatureAttributeType attributeType = metadata.getAttributeType(key);
- if (attributeType == FeatureAttributeType.Float
- || attributeType.equals(FeatureAttributeType.Integer))
+ FeatureAttributeType attType = metadata.getAttributeType(key);
+ if (attType != null
+ && (attType == FeatureAttributeType.Float || attType
+ .equals(FeatureAttributeType.Integer)))
{
try
{