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:
cd3f718
)
copy only the sequence associated alignment annotation displayed in the current view
author
jprocter
<Jim Procter>
Wed, 2 May 2007 12:23:17 +0000
(12:23 +0000)
committer
jprocter
<Jim Procter>
Wed, 2 May 2007 12:23:17 +0000
(12:23 +0000)
src/jalview/gui/AlignViewport.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignViewport.java
b/src/jalview/gui/AlignViewport.java
index
88a6e37
..
b68008a
100755
(executable)
--- a/
src/jalview/gui/AlignViewport.java
+++ b/
src/jalview/gui/AlignViewport.java
@@
-1479,9
+1479,10
@@
public class AlignViewport
if (selectionGroup == null)
{
sequences = alignment.getSequencesArray();
+ AlignmentAnnotation[] annots = alignment.getAlignmentAnnotation();
for (int i=0; i<sequences.length; i++)
{
- sequences[i] = new Sequence(sequences[i]); // construct new sequence
+ sequences[i] = new Sequence(sequences[i], annots); // construct new sequence with subset of visible annotation
}
}
else