mailr18612 - /trunk/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 March 04, 2013 - 15:39:
Author: bugman
Date: Mon Mar  4 15:39:13 2013
New Revision: 18612

URL: http://svn.gna.org/viewcvs/relax?rev=18612&view=rev
Log:
Fix for the internal PDB reading - the MASTER record was being marked as a 
molecule.

Now this record is checked for and the molecule loop terminated.


Modified:
    trunk/generic_fns/structure/internal.py

Modified: trunk/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/structure/internal.py?rev=18612&r1=18611&r2=18612&view=diff
==============================================================================
--- trunk/generic_fns/structure/internal.py (original)
+++ trunk/generic_fns/structure/internal.py Mon Mar  4 15:39:13 2013
@@ -599,6 +599,10 @@
         for i in range(len(records)):
             # A PDB termination record.
             if records[i][:3] == 'END':
+                break
+
+            # A master record, so we are done.
+            if records[i][:6] == 'MASTER':
                 break
 
             # A model termination record.




Related Messages


Powered by MHonArc, Updated Mon Mar 04 15:40:02 2013