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-2503 AlignmentAnnotation.isQuantitative() test
[jalview.git]
/
src
/
jalview
/
datamodel
/
AlignmentView.java
diff --git
a/src/jalview/datamodel/AlignmentView.java
b/src/jalview/datamodel/AlignmentView.java
index
6698d49
..
1e34036
100644
(file)
--- a/
src/jalview/datamodel/AlignmentView.java
+++ b/
src/jalview/datamodel/AlignmentView.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-970,14
+970,14
@@
public class AlignmentView
if (start < fwidth)
{
viscontigs[nvis] = start;
if (start < fwidth)
{
viscontigs[nvis] = start;
- viscontigs[nvis + 1] = fwidth; // end is inclusive
+ viscontigs[nvis + 1] = fwidth - 1; // end is inclusive
nvis += 2;
}
return viscontigs;
}
else
{
nvis += 2;
}
return viscontigs;
}
else
{
- return new int[] { 0, width };
+ return new int[] { 0, width - 1 };
}
}
}
}