mailr14637 - /1.3/gui/results_viewer.py


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

Header


Content

Posted by edward on September 14, 2011 - 18:28:
Author: bugman
Date: Wed Sep 14 18:28:40 2011
New Revision: 14637

URL: http://svn.gna.org/viewcvs/relax?rev=14637&view=rev
Log:
Converted the results viewer window to handle the new user function GUI page 
design.


Modified:
    1.3/gui/results_viewer.py

Modified: 1.3/gui/results_viewer.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/results_viewer.py?rev=14637&r1=14636&r2=14637&view=diff
==============================================================================
--- 1.3/gui/results_viewer.py (original)
+++ 1.3/gui/results_viewer.py Wed Sep 14 18:28:40 2011
@@ -39,6 +39,7 @@
 from gui.icons import relax_icons
 from gui.misc import add_border, gui_to_str, open_file, str_to_gui
 from gui.paths import icon_22x22
+from gui.user_functions import User_functions; user_functions = 
User_functions()
 
 
 class Results_viewer(wx.Frame):
@@ -249,15 +250,15 @@
 
             # Grace files.
             if type == 'grace':
-                self.gui.user_functions.grace.view(None, file=file)
+                user_functions.grace.view(file=file)
 
             # PyMOL macro files.
             elif type == 'pymol':
-                self.gui.user_functions.pymol.macro_run(None, file=file)
+                user_functions.pymol.macro_run(file=file)
 
             # Molmol macro files.
             elif type == 'molmol':
-                self.gui.user_functions.molmol.macro_run(None, file=file)
+                user_functions.molmol.macro_run(file=file)
 
             # Diffusion tensor PDB.
             elif type == 'diff_tensor_pdb':




Related Messages


Powered by MHonArc, Updated Wed Sep 14 18:40:01 2011