mailr13503 - /branches/gui_testing/gui/user_functions/molecule.py


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

Header


Content

Posted by edward on July 07, 2011 - 18:30:
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)
 
 
 




Related Messages


Powered by MHonArc, Updated Thu Jul 07 18:40:01 2011