mailr7420 - /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 September 27, 2008 - 20:04:
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:




Related Messages


Powered by MHonArc, Updated Sat Sep 27 20:20:03 2008