From 842713f26c299ec867320918a721ff5be9df7dbb Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 13 Feb 2018 15:35:41 +0000 Subject: [PATCH] =?utf8?q?JAL-2780=20JAL-2781=20don=E2=80=99t=20create=20a=20?= =?utf8?q?mapping=20if=20sequence=20position=20was=20not=20assigned=20but=20?= =?utf8?q?still=20keep=20track=20of=20=E2=80=98unobserved=E2=80=99=20counts=20?= =?utf8?q?for=20bookkeeping?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/ws/sifts/SiftsClient.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index 5050c34..b5f9653 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -690,6 +690,13 @@ public class SiftsClient implements SiftsClientI ++nonObservedShiftIndex; } } + if (currSeqIndex == UNASSIGNED) + { + // change in logic - unobserved residues with no currSeqIndex + // corresponding are still counted in both nonObservedShiftIndex and + // pdbeIndex... + continue; + } // if (currSeqIndex >= seq.getStart() && currSeqIndex <= seqlength) // // true // numbering -- 1.7.10.2