mailr6173 - /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 May 20, 2008 - 21:56:
Author: bugman
Date: Tue May 20 21:56:24 2008
New Revision: 6173

URL: http://svn.gna.org/viewcvs/relax?rev=6173&view=rev
Log:
Fix for the initialisation of the Structure_container object.

The object variables were not being placed into self.


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=6173&r1=6172&r2=6173&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Tue May 20 21:56:24 2008
@@ -731,34 +731,34 @@
         """Initialise all the arrays."""
 
         # The atom name (array of str).
-        atom_name = []
+        self.atom_name = []
 
         # The bonded atom indecies (array of arrays of int).
-        bonded = []
+        self.bonded = []
 
         # The chain ID (array of str).
-        chain_id = []
+        self.chain_id = []
 
         # The element symbol (array of str).
-        element = []
+        self.element = []
 
         # The optional PDB record name (array of str).
-        pdb_record = []
+        self.pdb_record = []
 
         # The residue name (array of str).
-        res_name = []
+        self.res_name = []
 
         # The residue number (array of int).
-        res_num = []
+        self.res_num = []
 
         # The segment ID (array of int).
-        seg_id = []
+        self.seg_id = []
 
         # The x coordinate (array of float).
-        x = []
+        self.x = []
 
         # The y coordinate (array of float).
-        y = []
+        self.y = []
 
         # The z coordinate (array of float).
-        z = []
+        self.z = []




Related Messages


Powered by MHonArc, Updated Tue May 20 22:00:21 2008