Author: bugman
Date: Thu Jan 15 18:47:49 2009
New Revision: 8489
URL: http://svn.gna.org/viewcvs/relax?rev=8489&view=rev
Log:
The "'" character is stripped so __det_pdb_element() better handles RNA.
Modified:
branches/multi_structure/generic_fns/structure/internal.py
Modified: branches/multi_structure/generic_fns/structure/internal.py
URL:
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/internal.py?rev=8489&r1=8488&r2=8489&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/internal.py (original)
+++ branches/multi_structure/generic_fns/structure/internal.py Thu Jan 15
18:47:49 2009
@@ -1115,12 +1115,15 @@
@rtype: str or None
"""
+ # Strip away the "'" character (for RNA, etc.).
+ element = strip(atom_name, "'")
+
# Strip away atom numbering, from the front and end.
element = strip(atom_name, digits)
# Amino acid atom translation table (note, numbers have been stripped
already!).
table = {'C': ['CA', 'CB', 'CG', 'CD', 'CE', 'CZ'],
- 'N': ['NE', 'NH'],
+ 'N': ['ND', 'NE', 'NH'],
'H': ['HA', 'HB', 'HG', 'HD', 'HE', 'HT'],
'O': ['OG', 'OD', 'OE'],
'S': ['SD', 'SG']
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits