mailr16477 - /branches/uf_redesign/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 May 28, 2012 - 13:33:
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."




Related Messages


Powered by MHonArc, Updated Mon May 28 14:00:02 2012