sb.append(String.format(ROW_DATA, "Location", name,
begin == end ? begin
: begin + (isContactFeature() ? ":" : "-") + end));
+
+ String consequence = "";
if (mf != null)
{
int[] beginRange = mf.getMappedPositions(begin, begin);
: from + (isContactFeature() ? ":" : "-") + to));
if (mf.isFromCds())
{
- sb.append(String.format(ROW_DATA, "Consequence",
- mf.findProteinVariants(this), ""));
+ consequence = mf.findProteinVariants(this);
}
}
sb.append(String.format(ROW_DATA, "Type", type, ""));
sb.append(String.format(ROW_DATA, "Group", featureGroup, ""));
}
+ if (!consequence.isEmpty())
+ {
+ sb.append(String.format(ROW_DATA, "Consequence",
+ "<i>Translated by Jalview</i>", consequence));
+ }
+
if (otherDetails != null)
{
TreeMap<String, Object> ordered = new TreeMap<>(