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
total annotation score is a double for maximum precision.
[jalview.git]
/
src
/
jalview
/
datamodel
/
Sequence.java
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
aaf06f1
..
81a0f40
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-762,6
+762,16
@@
public class Sequence
annotation.setSequenceRef(this);
}
annotation.setSequenceRef(this);
}
+ public void removeAlignmentAnnotation(AlignmentAnnotation annotation)
+ {
+ if(this.annotation!=null)
+ {
+ this.annotation.removeElement(annotation);
+ if(this.annotation.size()==0)
+ this.annotation = null;
+ }
+ }
+
/**
* test if this is a valid candidate for another
/**
* test if this is a valid candidate for another