From: Jim Procter Date: Mon, 21 Apr 2014 15:02:03 +0000 (+0100) Subject: JAL-1466 don't include empty columns if no upstream sequence data available for align... X-Git-Tag: Jalview_2_9~198^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b55d5f8c5ce50ee068c8345c1bdb3dbc711a74df;p=jalview.git JAL-1466 don't include empty columns if no upstream sequence data available for aligned subsequences --- diff --git a/src/jalview/analysis/AlignmentUtils.java b/src/jalview/analysis/AlignmentUtils.java index 5bbdc4a..85699a4 100644 --- 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()