mailr5390 - /1.3/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 April 07, 2008 - 18:41:
Author: bugman
Date: Mon Apr  7 18:41:38 2008
New Revision: 5390

URL: http://svn.gna.org/viewcvs/relax?rev=5390&view=rev
Log:
Fixed the references to the PyMOL command history.


Modified:
    1.3/generic_fns/pymol.py

Modified: 1.3/generic_fns/pymol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pymol.py?rev=5390&r1=5389&r2=5390&view=diff
==============================================================================
--- 1.3/generic_fns/pymol.py (original)
+++ 1.3/generic_fns/pymol.py Mon Apr  7 18:41:38 2008
@@ -60,8 +60,8 @@
         self.pymol = popen("pymol -qpK", 'w', 0)
 
         # Execute the command history.
-        if len(pymol_data.command_history) > 0:
-            self.pipe_write(pymol_data.command_history, store_command=0)
+        if len(self.command_history) > 0:
+            self.pipe_write(self.command_history, store_command=0)
             return
 
         # Test if the PDB file has been loaded.
@@ -101,7 +101,7 @@
 
         # Place the command in the command history.
         if store_command:
-            pymol_data.command_history = pymol_data.command_history + 
command + "\n"
+            self.command_history = self.command_history + command + "\n"
 
 
 




Related Messages


Powered by MHonArc, Updated Mon Apr 07 19:00:25 2008