Author: bugman Date: Sat Sep 27 20:04:20 2008 New Revision: 7420 URL: http://svn.gna.org/viewcvs/relax?rev=7420&view=rev Log: Modified __add_struct() to use Structure_container() if the structural object is not provided. 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=7420&r1=7419&r2=7420&view=diff ============================================================================== --- 1.3/generic_fns/structure/internal.py (original) +++ 1.3/generic_fns/structure/internal.py Sat Sep 27 20:04:20 2008 @@ -97,6 +97,9 @@ self.model.append(model) self.file.append(file) self.path.append(path) + + # Initialise the structural object if not provided. + str = Structure_container() # Add the structural data. if struct_index != None: