Author: bugman Date: Thu Jul 7 18:30:38 2011 New Revision: 13503 URL: http://svn.gna.org/viewcvs/relax?rev=13503&view=rev Log: Fix for the molecule.create user function page. The wrong args was passed to the user function. Modified: branches/gui_testing/gui/user_functions/molecule.py Modified: branches/gui_testing/gui/user_functions/molecule.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/molecule.py?rev=13503&r1=13502&r2=13503&view=diff ============================================================================== --- branches/gui_testing/gui/user_functions/molecule.py (original) +++ branches/gui_testing/gui/user_functions/molecule.py Thu Jul 7 18:30:38 2011 @@ -202,7 +202,7 @@ mol_type = str(self.mol_type.GetValue()) # Set the name. - self.interpreter.molecule.create(mol_name=mol_name, type=mol_type) + self.interpreter.molecule.create(mol_name=mol_name, mol_type=mol_type)