mailr14310 - /branches/gui_testing/gui/user_functions/molmol.py


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

Header


Content

Posted by edward on August 10, 2011 - 14:16:
Author: bugman
Date: Wed Aug 10 14:16:21 2011
New Revision: 14310

URL: http://svn.gna.org/viewcvs/relax?rev=14310&view=rev
Log:
Fix for the molmol.command user function page - the command is now read from 
the GUI.


Modified:
    branches/gui_testing/gui/user_functions/molmol.py

Modified: branches/gui_testing/gui/user_functions/molmol.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/molmol.py?rev=14310&r1=14309&r2=14310&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/molmol.py (original)
+++ branches/gui_testing/gui/user_functions/molmol.py Wed Aug 10 14:16:21 2011
@@ -180,6 +180,9 @@
 
     def on_execute(self):
         """Execute the user function."""
+
+        # Get the values.
+        command = gui_to_str(self.command.GetValue())
 
         # Execute the user function.
         self.gui.interpreter.molmol.command(command=command)




Related Messages


Powered by MHonArc, Updated Wed Aug 10 14:40:02 2011