mailr6726 - /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 - 04:20:
Author: bugman
Date: Sat Jul  5 04:20:52 2008
New Revision: 6726

URL: http://svn.gna.org/viewcvs/relax?rev=6726&view=rev
Log:
Shifted the ENDMDL record to be before the CONECT records.


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=6726&r1=6725&r2=6726&view=diff
==============================================================================
--- branches/rdc_analysis/generic_fns/structure/internal.py (original)
+++ branches/rdc_analysis/generic_fns/structure/internal.py Sat Jul  5 
04:20:52 2008
@@ -929,6 +929,17 @@
                     num_ter = num_ter + 1
 
 
+            # ENDMDL record, for multiple structures.
+            ########################################
+
+            if not struct_index and len(self.structural_data) > 1:
+                # Print out.
+                print "Creating the ENDMDL record."
+
+                # Write the model record.
+                file.write("%-6s\n" % 'ENDMDL')
+
+
             # Create the CONECT records.
             ############################
 
@@ -978,17 +989,6 @@
 
                         # Increment the CONECT record count.
                         num_conect = num_conect + 1
-
-
-            # ENDMDL record, for multiple structures.
-            ########################################
-
-            if not struct_index and len(self.structural_data) > 1:
-                # Print out.
-                print "Creating the ENDMDL record."
-
-                # Write the model record.
-                file.write("%-6s\n" % 'ENDMDL')
 
 
 




Related Messages


Powered by MHonArc, Updated Sat Jul 05 04:40:14 2008