mailr6832 - /1.3/generic_fns/structure/scientific.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:51:
Author: bugman
Date: Tue Jul  8 02:51:39 2008
New Revision: 6832

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


Modified:
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=6832&r1=6831&r2=6832&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Tue Jul  8 02:51:39 2008
@@ -400,6 +400,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 03:00:05 2008