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:
6c0f1d8
)
fix for truncation of sequence associated annotation mapped onto alignment
author
jprocter
<Jim Procter>
Mon, 21 Aug 2006 12:51:46 +0000
(12:51 +0000)
committer
jprocter
<Jim Procter>
Mon, 21 Aug 2006 12:51:46 +0000
(12:51 +0000)
src/jalview/datamodel/AlignmentAnnotation.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentAnnotation.java
b/src/jalview/datamodel/AlignmentAnnotation.java
index
04689cd
..
2850eeb
100755
(executable)
--- a/
src/jalview/datamodel/AlignmentAnnotation.java
+++ b/
src/jalview/datamodel/AlignmentAnnotation.java
@@
-285,13
+285,10
@@
public class AlignmentAnnotation
for(int i = 0; i < annotations.length; i++)
{
seqPos = sequenceRef.findPosition(i + fileOffset);
- if(seqPos<annotations.length)
+ if (annotations[i] != null)
{
- if (annotations[i] != null)
- {
- sequenceMapping.put(new Integer(seqPos),
- annotations[i]);
- }
+ sequenceMapping.put(new Integer(seqPos),
+ annotations[i]);
}
}