mailr27150 - /trunk/test_suite/system_tests/structure.py


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

Header


Content

Posted by edward on December 22, 2014 - 09:19:
Author: bugman
Date: Mon Dec 22 09:19:13 2014
New Revision: 27150

URL: http://svn.gna.org/viewcvs/relax?rev=27150&view=rev
Log:
Fix for the Structure.test_atomic_fluctuations_parallax system test.

The distance shifts need to be numbers, not vectors.


Modified:
    trunk/test_suite/system_tests/structure.py

Modified: trunk/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=27150&r1=27149&r2=27150&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py  (original)
+++ trunk/test_suite/system_tests/structure.py  Mon Dec 22 09:19:13 2014
@@ -477,9 +477,9 @@
             dot(vectors[2], unit) * unit
         ]
         shift = [
-            vectors[0] - proj[0],
-            vectors[1] - proj[1],
-            vectors[2] - proj[2]
+            norm(vectors[0] - proj[0]),
+            norm(vectors[1] - proj[1]),
+            norm(vectors[2] - proj[2])
         ]
 
         # The fluctuations.




Related Messages


Powered by MHonArc, Updated Mon Dec 22 09:20:02 2014