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:
be46140
)
JAL-2542 correct adjustment of sequence features for flanking sequence
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 24 May 2017 10:26:11 +0000
(11:26 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 24 May 2017 10:26:11 +0000
(11:26 +0100)
src/jalview/ws/DBRefFetcher.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/DBRefFetcher.java
b/src/jalview/ws/DBRefFetcher.java
index
fd511dc
..
493a13c
100644
(file)
--- a/
src/jalview/ws/DBRefFetcher.java
+++ b/
src/jalview/ws/DBRefFetcher.java
@@
-705,7
+705,7
@@
public class DBRefFetcher implements Runnable
*/
int start = sequenceStart;
int end = sequence.getEnd();
- int startShift = 1 - absStart - start;
+ final int startShift = absStart - start + 1;
if (startShift != 0)
{