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:
6e4e761
)
remove seqref annotations
author
amwaterhouse
<Andrew Waterhouse>
Mon, 23 Apr 2007 11:46:06 +0000
(11:46 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 23 Apr 2007 11:46:06 +0000
(11:46 +0000)
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
d26314e
..
83d2499
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-149,7
+149,7
@@
public class Alignment
// derive new sequence
SequenceI adding = snew.deriveSequence();
getDataset().addSequence(adding.getDatasetSequence());
- snew = adding;
+ snew = adding;
}
}
if (sequences==null) {
@@
-466,6
+466,9
@@
public class Alignment
*/
public void deleteAnnotation(AlignmentAnnotation aa)
{
+ if(aa.sequenceRef!=null)
+ aa.sequenceRef.removeAlignmentAnnotation(aa);
+
int aSize = 1;
if (annotations != null)