Author: bugman Date: Fri Dec 17 20:16:29 2010 New Revision: 11887 URL: http://svn.gna.org/viewcvs/relax?rev=11887&view=rev Log: Merged revisions 11886 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r11886 | bugman | 2010-12-17 19:59:11 +0100 (Fri, 17 Dec 2010) | 9 lines Fix for bug #17343 (https://gna.org/bugs/?17343). This bug was reported by Vitaly Vostri <vvostri att gmail dott com>, also in the mailing list message https://mail.gna.org/public/relax-users/2010-12/msg00005.html. The 'CH2' and 'OT' atoms have been added to the internal PDB reader, for those incomplete PDB files in which the element column is missing. ........ Modified: branches/bieri_gui/ (props changed) branches/bieri_gui/generic_fns/structure/internal.py Propchange: branches/bieri_gui/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Fri Dec 17 20:16:29 2010 @@ -1,1 +1,1 @@ -/1.3:1-11879 +/1.3:1-11886 Modified: branches/bieri_gui/generic_fns/structure/internal.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/generic_fns/structure/internal.py?rev=11887&r1=11886&r2=11887&view=diff ============================================================================== --- branches/bieri_gui/generic_fns/structure/internal.py (original) +++ branches/bieri_gui/generic_fns/structure/internal.py Fri Dec 17 20:16:29 2010 @@ -1149,10 +1149,10 @@ element = strip(element, digits) # Amino acid atom translation table (note, numbers have been stripped already!). - table = {'C': ['CA', 'CB', 'CG', 'CD', 'CE', 'CZ'], + table = {'C': ['CA', 'CB', 'CG', 'CD', 'CE', 'CH2', 'CZ'], 'N': ['ND', 'NE', 'NH', 'NZ'], 'H': ['HA', 'HB', 'HG', 'HD', 'HE', 'HH', 'HT', 'HZ'], - 'O': ['OG', 'OD', 'OE', 'OH'], + 'O': ['OG', 'OD', 'OE', 'OH', 'OT'], 'S': ['SD', 'SG'] }