git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2542 correct adjustment of sequence features for flanking sequence
[jalview.git]
/
src
/
jalview
/
ws
/
DBRefFetcher.java
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 start = sequenceStart;
int end = sequence.getEnd();
- int startShift = 1 - absStart - start;
+ final int startShift = absStart - start + 1;
if (startShift != 0)
{
if (startShift != 0)
{