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:
cb9a57f
)
JAL-1684 fix bug in AlignmentView constructor
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 11 Mar 2015 14:18:32 +0000
(14:18 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 11 Mar 2015 14:18:32 +0000
(14:18 +0000)
src/jalview/datamodel/AlignmentView.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentView.java
b/src/jalview/datamodel/AlignmentView.java
index
f73fb74
..
b36a0a5
100644
(file)
--- a/
src/jalview/datamodel/AlignmentView.java
+++ b/
src/jalview/datamodel/AlignmentView.java
@@
-179,7
+179,9
@@
public class AlignmentView
sgrps[g] = new ScGroup();
sgrps[g].sg = new SequenceGroup(sg);
addedgps[g] = false;
- seqsets.set(g, sg.getSequences(null));
+ // can't set entry 0 in an empty list
+ // seqsets.set(g, sg.getSequences(null));
+ seqsets.add(sg.getSequences());
}
// seqsets now contains vectors (should be sets) for each group, so we can
// track when we've done with the group