mailr18536 - /trunk/generic_fns/structure/pdb_write.py


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

Header


Content

Posted by edward on February 20, 2013 - 16:05:
Author: bugman
Date: Wed Feb 20 16:05:20 2013
New Revision: 18536

URL: http://svn.gna.org/viewcvs/relax?rev=18536&view=rev
Log:
Fix for the generic_fns.structure.pdb_write.het() function - the record now 
has trailing whitespace.

The PDB records require trailing whitespace to the 80th character position.


Modified:
    trunk/generic_fns/structure/pdb_write.py

Modified: trunk/generic_fns/structure/pdb_write.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/structure/pdb_write.py?rev=18536&r1=18535&r2=18536&view=diff
==============================================================================
--- trunk/generic_fns/structure/pdb_write.py (original)
+++ trunk/generic_fns/structure/pdb_write.py Wed Feb 20 16:05:20 2013
@@ -842,14 +842,15 @@
     """
 
     # The formatted record.
-    text = "%-6s %3s  %1s%4s%1s  %5s     %-40s" % (
+    text = "%-6s %3s  %1s%4s%1s  %5s     %-40s%10s" % (
         'HET',
         _handle_none(het_id),
         _handle_none(chain_id),
         _handle_none(seq_num),
         _handle_none(icode),
         _handle_none(num_het_atoms),
-        _handle_none(text)
+        _handle_none(text),
+        ''
     )
 
     # Validate.




Related Messages


Powered by MHonArc, Updated Wed Feb 20 16:40:02 2013