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:
fbde107
)
improved logic for distinguishing amino acids and nucleic acids in structure (JAL...
author
jprocter
<Jim Procter>
Thu, 11 Nov 2010 18:44:31 +0000
(18:44 +0000)
committer
jprocter
<Jim Procter>
Thu, 11 Nov 2010 18:44:31 +0000
(18:44 +0000)
src/MCview/PDBChain.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBChain.java
b/src/MCview/PDBChain.java
index
47f6817
..
c7eec35
100755
(executable)
--- a/
src/MCview/PDBChain.java
+++ b/
src/MCview/PDBChain.java
@@
-275,7
+275,7
@@
public class PDBChain
if ((symbol = ResidueProperties.getAA3Hash().get(tmpat.resName)) == null)
{
String nucname = tmpat.resName.trim();
- if (ResidueProperties.nucleotideIndex[nucname.charAt(0)] == -1)
+ if (tmpat.name.equalsIgnoreCase("CA") || ResidueProperties.nucleotideIndex[nucname.charAt(0)] == -1)
{
seq.append("X");
// System.err.println("PDBReader:Null aa3Hash for " +