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:
1148c09
)
remove all representative seqs on delete groups
author
amwaterhouse
<Andrew Waterhouse>
Fri, 18 Aug 2006 13:57:14 +0000
(13:57 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 18 Aug 2006 13:57:14 +0000
(13:57 +0000)
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
c839271
..
86c140f
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-394,7
+394,8
@@
public class Alignment implements AlignmentI
while (i < sequences.size())
{
- SequenceI s = getSequenceAt(i);
+ Sequence s = (Sequence)getSequenceAt(i);
+ s.hiddenSequences = null;
s.setColor(java.awt.Color.white);
i++;
}
@@
-405,6
+406,9
@@
public class Alignment implements AlignmentI
{
if (groups.contains(g))
{
+ //remove any hidden representatives
+ // for(int i=0; i<g.getsiz
+ // g.getSequences()
groups.removeElement(g);
}
}