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"