Author: bugman Date: Wed Sep 24 20:54:46 2008 New Revision: 7280 URL: http://svn.gna.org/viewcvs/relax?rev=7280&view=rev Log: The structural object is now initialised with an empty Structure_container appended. 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=7280&r1=7279&r2=7280&view=diff ============================================================================== --- 1.3/generic_fns/structure/api_base.py (original) +++ 1.3/generic_fns/structure/api_base.py Wed Sep 24 20:54:46 2008 @@ -50,6 +50,9 @@ # Initialise the file name list. self.file_name = [] + + # Initialise the empty structural data object by adding a structure container. + self.structural_data.append(Structure_container()) 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):