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:
21901b0
)
JAL-1466 don't include empty columns if no upstream sequence data available for align...
author
Jim Procter
<jprocter@dundee.ac.uk>
Mon, 21 Apr 2014 15:02:03 +0000
(16:02 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Mon, 21 Apr 2014 15:02:03 +0000
(16:02 +0100)
src/jalview/analysis/AlignmentUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AlignmentUtils.java
b/src/jalview/analysis/AlignmentUtils.java
index
5bbdc4a
..
85699a4
100644
(file)
--- a/
src/jalview/analysis/AlignmentUtils.java
+++ b/
src/jalview/analysis/AlignmentUtils.java
@@
-28,7
+28,7
@@
public class AlignmentUtils
for (SequenceI s:core.getSequences())
{
SequenceI newSeq = s.deriveSequence();
- if (newSeq.getStart()>maxoffset)
+ if (newSeq.getStart()>maxoffset && newSeq.getDatasetSequence().getStart()<s.getStart())
{
maxoffset = newSeq.getStart();
}