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)