git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70cb818
)
convenient creation of 'score only' annotation.
author
jprocter
<Jim Procter>
Mon, 30 Apr 2007 13:24:07 +0000
(13:24 +0000)
committer
jprocter
<Jim Procter>
Mon, 30 Apr 2007 13:24:07 +0000
(13:24 +0000)
src/jalview/datamodel/AlignmentAnnotation.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentAnnotation.java
b/src/jalview/datamodel/AlignmentAnnotation.java
index
bd50cd7
..
d3d36d2
100755
(executable)
--- a/
src/jalview/datamodel/AlignmentAnnotation.java
+++ b/
src/jalview/datamodel/AlignmentAnnotation.java
@@
-639,4
+639,15
@@
Loading...
{
return hasScore || !Double.isNaN(score);
}
+ /**
+ * Score only annotation
+ * @param label
+ * @param description
+ * @param score
+ */
+ public AlignmentAnnotation(String label, String description, double score)
+ {
+ this(label, description, null);
+ setScore(score);
+ }
}