JAL-2292 updated method calls
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Tue, 8 Nov 2016 10:26:21 +0000 (10:26 +0000)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Tue, 8 Nov 2016 10:26:21 +0000 (10:26 +0000)
src/MCview/PDBChain.java
src/jalview/analysis/AlignSeq.java
src/jalview/ws/sifts/SiftsClient.java

index 34f09c8..783a4e2 100755 (executable)
@@ -147,7 +147,7 @@ public class PDBChain
         pdbpos++;
       }
 
-      boolean sameResidue = Comparison.compareChars(as.astr1.charAt(i),
+      boolean sameResidue = Comparison.isSameResidue(as.astr1.charAt(i),
               as.astr2.charAt(i), false);
       if (sameResidue)
       {
index f7e8f2e..86bf721 100755 (executable)
@@ -620,7 +620,7 @@ public class AlignSeq
       {
         if ((i + (j * len)) < astr1.length())
         {
-          boolean sameChar = Comparison.compareChars(
+          boolean sameChar = Comparison.isSameResidue(
                   astr1.charAt(i + (j * len)), astr2.charAt(i + (j * len)),
                   false);
           if (sameChar
index 2afcfe4..eb094da 100644 (file)
@@ -1005,7 +1005,7 @@ public class SiftsClient implements SiftsClientI
         {
           if ((i + (j * len)) < seqRes.length())
           {
-            boolean sameChar = Comparison.compareChars(
+            boolean sameChar = Comparison.isSameResidue(
                     seqRes.charAt(i + (j * len)),
                     strRes.charAt(i + (j * len)), false);
             if (sameChar