git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e29b7
)
JAL-2292 squashed bug that breaks feature mapping for different cased residues
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 4 Nov 2016 16:08:53 +0000
(16:08 +0000)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 4 Nov 2016 16:08:53 +0000
(16:08 +0000)
src/MCview/PDBChain.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBChain.java
b/src/MCview/PDBChain.java
index
7774dac
..
34f09c8
100755
(executable)
--- a/
src/MCview/PDBChain.java
+++ b/
src/MCview/PDBChain.java
@@
-31,6
+31,7
@@
import jalview.schemes.ColourSchemeI;
import jalview.schemes.ResidueProperties;
import jalview.structure.StructureImportSettings;
import jalview.structure.StructureMapping;
+import jalview.util.Comparison;
import java.awt.Color;
import java.util.List;
@@
-146,7
+147,9
@@
public class PDBChain
pdbpos++;
}
- if (as.astr1.charAt(i) == as.astr2.charAt(i))
+ boolean sameResidue = Comparison.compareChars(as.astr1.charAt(i),
+ as.astr2.charAt(i), false);
+ if (sameResidue)
{
if (pdbpos >= residues.size())
{