mailr14933 - /1.3/prompt/structure.py


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

Header


Content

Posted by edward on October 26, 2011 - 15:54:
Author: bugman
Date: Wed Oct 26 15:54:58 2011
New Revision: 14933

URL: http://svn.gna.org/viewcvs/relax?rev=14933&view=rev
Log:
Fix for the structure.translate user function front end.

The back end already exists, so this is now functional.


Modified:
    1.3/prompt/structure.py

Modified: 1.3/prompt/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/structure.py?rev=14933&r1=14932&r2=14933&view=diff
==============================================================================
--- 1.3/prompt/structure.py (original)
+++ 1.3/prompt/structure.py Wed Oct 26 15:54:58 2011
@@ -602,7 +602,7 @@
             print(text)
 
         # The argument checks.
-        arg_check.is_float_matrix(T, 'translation vector', dim=(3,3))
+        arg_check.is_float_array(T, 'translation vector', size=3)
         arg_check.is_int(model, 'model', can_be_none=True)
 
         # Execute the functional code.




Related Messages


Powered by MHonArc, Updated Wed Oct 26 17:00:02 2011