mailr9160 - /branches/frame_order/generic_fns/pymol.py


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

Header


Content

Posted by edward on June 25, 2009 - 16:41:
Author: bugman
Date: Thu Jun 25 16:41:25 2009
New Revision: 9160

URL: http://svn.gna.org/viewcvs/relax?rev=9160&view=rev
Log:
Made the cone_pdb() function less specific for the N-state model and added 
SIM as an axis to decorate.


Modified:
    branches/frame_order/generic_fns/pymol.py

Modified: branches/frame_order/generic_fns/pymol.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order/generic_fns/pymol.py?rev=9160&r1=9159&r2=9160&view=diff
==============================================================================
--- branches/frame_order/generic_fns/pymol.py (original)
+++ branches/frame_order/generic_fns/pymol.py Thu Jun 25 16:41:25 2009
@@ -209,7 +209,7 @@
 
 
 def cone_pdb(file=None):
-    """Display the N-state model cone geometric object.
+    """Display the cone geometric object.
 
     @keyword file:  The name of the file containing the cone geometric 
object.
     @type file:     str
@@ -222,11 +222,11 @@
     pymol.pipe_write("load " + file)
 
 
-    # Average CoM-pivot point vector.
-    #################################
-
-    # Select the AVE and AXE residues.
-    pymol.pipe_write("select resn AVE,AXE")
+    # The cone axis.
+    ################
+
+    # Select the AVE, AXE, and SIM residues.
+    pymol.pipe_write("select (resn AVE,AXE,SIM)")
 
     # Show the vector as a stick.
     pymol.pipe_write("show stick, 'sele'")
@@ -235,7 +235,7 @@
     pymol.pipe_write("color cyan, 'sele'")
 
     # Select the atom used for labelling.
-    pymol.pipe_write("select (resn AVE,AXE and symbol N)")
+    pymol.pipe_write("select (resn AVE,AXE,SIM and symbol N)")
 
     # Hide the atom.
     pymol.pipe_write("hide ('sele')")




Related Messages


Powered by MHonArc, Updated Thu Jun 25 17:00:04 2009