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:
586c640
)
bugfix for sequence features mapped to multiple contigs on local sequence frame
author
jprocter
<Jim Procter>
Tue, 24 Apr 2007 14:34:08 +0000
(14:34 +0000)
committer
jprocter
<Jim Procter>
Tue, 24 Apr 2007 14:34:08 +0000
(14:34 +0000)
src/jalview/datamodel/Mapping.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Mapping.java
b/src/jalview/datamodel/Mapping.java
index
705cb15
..
2594c31
100644
(file)
--- a/
src/jalview/datamodel/Mapping.java
+++ b/
src/jalview/datamodel/Mapping.java
@@
-172,7
+172,7
@@
public class Mapping {
if (map!=null) {
int[] frange = map.locateInFrom(f.getBegin(), f.getEnd());
SequenceFeature[] vf = new SequenceFeature[frange.length/2];
- for (int i=0,v=0;i<frange.length;i+=2) {
+ for (int i=0,v=0;i<frange.length;i+=2,v++) {
vf[v] = new SequenceFeature(f);
vf[v].setBegin(frange[i]);
vf[v].setEnd(frange[i+1]);