Author: bugman Date: Tue Oct 29 17:58:31 2013 New Revision: 21331 URL: http://svn.gna.org/viewcvs/relax?rev=21331&view=rev Log: Merged revisions 21330 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r21330 | bugman | 2013-10-29 17:57:36 +0100 (Tue, 29 Oct 2013) | 6 lines 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: branches/relax_disp/ (props changed) branches/relax_disp/user_functions/structure.py Propchange: branches/relax_disp/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Tue Oct 29 17:58:31 2013 @@ -1,1 +1,1 @@ -/trunk:1-21297 +/trunk:1-21330 Modified: branches/relax_disp/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/user_functions/structure.py?rev=21331&r1=21330&r2=21331&view=diff ============================================================================== --- branches/relax_disp/user_functions/structure.py (original) +++ branches/relax_disp/user_functions/structure.py Tue Oct 29 17:58:31 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." )