Author: bugman Date: Mon May 28 13:33:56 2012 New Revision: 16477 URL: http://svn.gna.org/viewcvs/relax?rev=16477&view=rev Log: The structure.rotate R arg now defaults to the identity matrix. This is simply for the GUI. Modified: branches/uf_redesign/user_functions/structure.py Modified: branches/uf_redesign/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/structure.py?rev=16477&r1=16476&r2=16477&view=diff ============================================================================== --- branches/uf_redesign/user_functions/structure.py (original) +++ branches/uf_redesign/user_functions/structure.py Mon May 28 13:33:56 2012 @@ -24,6 +24,7 @@ """The structure user function definitions.""" # Python module imports. +from numpy import eye from os import sep import wx @@ -727,6 +728,7 @@ uf.add_keyarg( name = "R", py_type = "float_matrix", + default = eye(3), dim = (3, 3), desc_short = "rotation matrix", desc = "The rotation matrix in forwards rotation notation."