mailr4935 - /1.3/generic_fns/structure.py


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

Header


Content

Posted by edward on February 07, 2008 - 13:50:
Author: bugman
Date: Thu Feb  7 13:50:37 2008
New Revision: 4935

URL: http://svn.gna.org/viewcvs/relax?rev=4935&view=rev
Log:
Bug fix for the generic_fns.structure.xh_vector() function.

The 'cdp' was not being aliased.


Modified:
    1.3/generic_fns/structure.py

Modified: 1.3/generic_fns/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=4935&r1=4934&r2=4935&view=diff
==============================================================================
--- 1.3/generic_fns/structure.py (original)
+++ 1.3/generic_fns/structure.py Thu Feb  7 13:50:37 2008
@@ -1562,6 +1562,9 @@
     vector_array = []
     ave_vector = zeros(3, float64)
 
+    # Alias the current data pipe.
+    cdp = relax_data_store[relax_data_store.current_pipe]
+
     # Number of structures.
     num_str = len(cdp.structure.structures)
 




Related Messages


Powered by MHonArc, Updated Thu Feb 07 14:00:13 2008