mailr21330 - /trunk/user_functions/structure.py


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

Header


Content

Posted by edward on October 29, 2013 - 17:57:
Author: bugman
Date: Tue Oct 29 17:57:36 2013
New Revision: 21330

URL: http://svn.gna.org/viewcvs/relax?rev=21330&view=rev
Log:
Fix for a fatal bug in the rarely used structure.add_atom user function.

The position argument in the user function definitions was incorrectly 
defined causing the user
function to be non-functional.


Modified:
    trunk/user_functions/structure.py

Modified: trunk/user_functions/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/structure.py?rev=21330&r1=21329&r2=21330&view=diff
==============================================================================
--- trunk/user_functions/structure.py (original)
+++ trunk/user_functions/structure.py Tue Oct 29 17:57:36 2013
@@ -74,7 +74,7 @@
 )
 uf.add_keyarg(
     name = "pos",
-    py_type = "float_object",
+    py_type = "float",
     desc_short = "atomic position",
     desc = "The atomic coordinates."
 )




Related Messages


Powered by MHonArc, Updated Tue Oct 29 18:00:02 2013