git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-2744 add score to feature details report, description to menu item
[jalview.git]
/
src
/
jalview
/
datamodel
/
SequenceFeature.java
diff --git
a/src/jalview/datamodel/SequenceFeature.java
b/src/jalview/datamodel/SequenceFeature.java
index
0352918
..
4208ce1
100755
(executable)
--- a/
src/jalview/datamodel/SequenceFeature.java
+++ b/
src/jalview/datamodel/SequenceFeature.java
@@
-563,6
+563,10
@@
public class SequenceFeature implements FeatureLocationI
{
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(")");