mailr14285 - /1.3/generic_fns/pymol_control.py


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

Header


Content

Posted by edward on August 09, 2011 - 12:07:
Author: bugman
Date: Tue Aug  9 12:07:39 2011
New Revision: 14285

URL: http://svn.gna.org/viewcvs/relax?rev=14285&view=rev
Log:
The pymol.tensor_pdb() user function now shows the diffusion tensor using 
PyMOL sticks.


Modified:
    1.3/generic_fns/pymol_control.py

Modified: 1.3/generic_fns/pymol_control.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pymol_control.py?rev=14285&r1=14284&r2=14285&view=diff
==============================================================================
--- 1.3/generic_fns/pymol_control.py (original)
+++ 1.3/generic_fns/pymol_control.py Tue Aug  9 12:07:39 2011
@@ -382,6 +382,19 @@
     pymol_obj.exec_cmd("load " + file)
 
 
+    # The tensor object.
+    ####################
+
+    # Select the TNS residue.
+    pymol_obj.exec_cmd("select resn TNS")
+
+    # Hide everything.
+    pymol_obj.exec_cmd("hide ('sele')")
+
+    # Show as 'sticks'.
+    pymol_obj.exec_cmd("show sticks, 'sele'")
+
+
     # Centre of mass.
     #################
 




Related Messages


Powered by MHonArc, Updated Tue Aug 09 12:40:02 2011