mailr18834 - /branches/frame_order_testing/auto_analyses/frame_order.py


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

Header


Content

Posted by edward on March 15, 2013 - 17:18:
Author: bugman
Date: Fri Mar 15 17:18:57 2013
New Revision: 18834

URL: http://svn.gna.org/viewcvs/relax?rev=18834&view=rev
Log:
Modified the visualisation() method of the frame order auto-analysis.

This is to use the renamed frame_order.pdb_model user function, as well as 
the yet to be renamed
pymol.cone_pdb -> pymol.frame_order user function.


Modified:
    branches/frame_order_testing/auto_analyses/frame_order.py

Modified: branches/frame_order_testing/auto_analyses/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/auto_analyses/frame_order.py?rev=18834&r1=18833&r2=18834&view=diff
==============================================================================
--- branches/frame_order_testing/auto_analyses/frame_order.py (original)
+++ branches/frame_order_testing/auto_analyses/frame_order.py Fri Mar 15 
17:18:57 2013
@@ -575,8 +575,7 @@
                 results_dir = cdp.model
 
             # Create a PDB file representation of the motions.
-            if cdp.model != 'rigid':
-                self.interpreter.frame_order.cone_pdb(file='cone.pdb', 
dir=results_dir, force=True)
+            self.interpreter.frame_order.pdb_model(file='frame_order.pdb', 
dist_file='frame_order_distribution.pdb', dir=results_dir, force=True)
 
             # Create the visualisation script.
             script = open_write_file(file_name='pymol_display.py', 
dir=results_dir, force=True)
@@ -585,13 +584,10 @@
             script.write("# relax script for displaying the frame order 
results of this '%s' model in PyMOL.\n\n" % results_dir)
 
             # The script contents.
-            script.write("# Load the relax state file.\n")
-            script.write("state.load('results')\n")
-            script.write("\n")
             script.write("# PyMOL visualisation.\n")
             script.write("pymol.view()\n")
             script.write("pymol.command('show spheres')\n")
-            script.write("pymol.cone_pdb('cone.pdb')\n")
+            script.write("pymol.frame_order(file='frame_order.pdb', 
dist_file='frame_order_distribution.pdb')\n")
 
             # Close the file.
             script.close()




Related Messages


Powered by MHonArc, Updated Fri Mar 15 17:40:03 2013