JAL-2780 JAL-2781 don’t create a mapping if sequence position was not assigned but...
[jalview.git] / src / jalview / ws / sifts / SiftsClient.java
index 5050c34..b5f9653 100644 (file)
@@ -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