X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBChain.java;h=ba93046f0a3467e670725a67398d6d8e7b48b656;hb=3f5e846ddfee0852718bef491e2839476f5281d3;hp=6bc79dcd8d045f58fbea7c3ca51850b3df3afb54;hpb=a4f0dde265e92e2639af7d953859f7d033e72c5a;p=jalview.git diff --git a/src/MCview/PDBChain.java b/src/MCview/PDBChain.java index 6bc79dc..ba93046 100755 --- a/src/MCview/PDBChain.java +++ b/src/MCview/PDBChain.java @@ -149,7 +149,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) { @@ -518,10 +518,12 @@ public class PDBChain try { index = ResidueProperties.aa3Hash.get(b.at1.resName).intValue(); - b.startCol = cs.findColour(ResidueProperties.aa[index].charAt(0)); + b.startCol = cs.findColour(ResidueProperties.aa[index].charAt(0), + 0, null, null, 0f); index = ResidueProperties.aa3Hash.get(b.at2.resName).intValue(); - b.endCol = cs.findColour(ResidueProperties.aa[index].charAt(0)); + b.endCol = cs.findColour(ResidueProperties.aa[index].charAt(0), 0, + null, null, 0f); } catch (Exception e) {