mailr6833 - /1.3/generic_fns/structure/internal.py


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

Header


Content

Posted by edward on July 08, 2008 - 02:59:
Author: bugman
Date: Tue Jul  8 02:59:03 2008
New Revision: 6833

URL: http://svn.gna.org/viewcvs/relax?rev=6833&view=rev
Log:
Fix for the bond_vectors() method, some variables needed to be initialised to 
None.


Modified:
    1.3/generic_fns/structure/internal.py

Modified: 1.3/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal.py?rev=6833&r1=6832&r2=6833&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Tue Jul  8 02:59:03 2008
@@ -664,6 +664,8 @@
 
         # Initialise some objects.
         vectors = []
+        attached_name = None
+        warnings = None
 
         # Loop over the structures.
         for i in xrange(len(self.structural_data)):




Related Messages


Powered by MHonArc, Updated Tue Jul 08 07:00:22 2008