mailr14500 - /1.3/specific_fns/model_free/pymol.py


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

Header


Content

Posted by edward on August 29, 2011 - 12:18:
Author: bugman
Date: Mon Aug 29 12:18:42 2011
New Revision: 14500

URL: http://svn.gna.org/viewcvs/relax?rev=14500&view=rev
Log:
The PyMOL macro header has now been converted from Molmol to PyMOL commands.


Modified:
    1.3/specific_fns/model_free/pymol.py

Modified: 1.3/specific_fns/model_free/pymol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/pymol.py?rev=14500&r1=14499&r2=14500&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/pymol.py (original)
+++ 1.3/specific_fns/model_free/pymol.py Mon Aug 29 12:18:42 2011
@@ -482,15 +482,17 @@
         """Create the header for the pymol macro."""
 
         # Hide all bonds.
-        self.commands.append("SelectBond ''")
-        self.commands.append("StyleBond invisible")
+        self.commands.append("hide")
 
         # Show the backbone bonds as lines.
-        self.commands.append("SelectBond 'bb'")
-        self.commands.append("StyleBond line")
+        self.commands.append("select bb, (name ca,n,c)")
+        self.commands.append("show lines, bb")
 
         # Colour the backbone black.
-        self.commands.append("ColorBond 0 0 0")
+        self.commands.append("color black, bb")
+
+        # Set the background colour to white.
+        self.commands.append("bg_color white")
 
 
     def _pymol_classic_order_param(self, res_num, s2, colour_start, 
colour_end, colour_list):




Related Messages


Powered by MHonArc, Updated Mon Aug 29 13:40:02 2011