Author: bugman Date: Sat Sep 27 14:09:32 2008 New Revision: 7400 URL: http://svn.gna.org/viewcvs/relax?rev=7400&view=rev Log: Modified the structural API base class __init__() method. This is to prepare for the tidying up of the structural object to better handle multiple structures. Modified: 1.3/generic_fns/structure/api_base.py Modified: 1.3/generic_fns/structure/api_base.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/api_base.py?rev=7400&r1=7399&r2=7400&view=diff ============================================================================== --- 1.3/generic_fns/structure/api_base.py (original) +++ 1.3/generic_fns/structure/api_base.py Sat Sep 27 14:09:32 2008 @@ -52,12 +52,12 @@ def __init__(self): """Initialise the structural object.""" - # The parser specific data object. - self.structural_data = [] - - # Initialise the file name and path list. + # Initialise the variables used to keep track of multiple structures. + self.num = 0 + self.name = [] self.file = [] self.path = [] + self.structural_data = [] def atom_add(self, pdb_record=None, atom_num=None, atom_name=None, res_name=None, chain_id=None, res_num=None, pos=[None, None, None], segment_id=None, element=None, struct_index=None):