mailr6707 - /branches/rdc_analysis/generic_fns/structure/internal.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 05, 2008 - 00:57:
Author: bugman
Date: Sat Jul  5 00:53:42 2008
New Revision: 6707

URL: http://svn.gna.org/viewcvs/relax?rev=6707&view=rev
Log:
HETATM records with no residue info are now skipped in the HET record 
construction.


Modified:
    branches/rdc_analysis/generic_fns/structure/internal.py

Modified: branches/rdc_analysis/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/generic_fns/structure/internal.py?rev=6707&r1=6706&r2=6707&view=diff
==============================================================================
--- branches/rdc_analysis/generic_fns/structure/internal.py (original)
+++ branches/rdc_analysis/generic_fns/structure/internal.py Sat Jul  5 
00:53:42 2008
@@ -714,8 +714,8 @@
 
             # Loop over the atomic data.
             for i in xrange(len(struct.atom_name)):
-                # Catch the HETATM records.
-                if struct.pdb_record[i] != 'HETATM':
+                # Skip non-HETATM records and HETATM records with no residue 
info.
+                if struct.pdb_record[i] != 'HETATM' or struct.res_name[i] == 
None:
                     continue
 
                 # If the residue is not already stored initialise a new 
het_data element.




Related Messages


Powered by MHonArc, Updated Sat Jul 05 01:00:20 2008