mailr8612 - /branches/multi_structure/generic_fns/structure/api_base.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 22, 2009 - 17:09:
Author: bugman
Date: Thu Jan 22 17:09:35 2009
New Revision: 8612

URL: http://svn.gna.org/viewcvs/relax?rev=8612&view=rev
Log:
MolList.add_item() now sets the molecule name.


Modified:
    branches/multi_structure/generic_fns/structure/api_base.py

Modified: branches/multi_structure/generic_fns/structure/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_structure/generic_fns/structure/api_base.py?rev=8612&r1=8611&r2=8612&view=diff
==============================================================================
--- branches/multi_structure/generic_fns/structure/api_base.py (original)
+++ branches/multi_structure/generic_fns/structure/api_base.py Thu Jan 22 
17:09:35 2009
@@ -936,6 +936,9 @@
             # Append an empty MolContainer.
             self.append(mol_cont)
 
+            # Set the name.
+            self[-1].mol_name = mol_name
+
 
     def is_empty(self):
         """Method for testing if this MolList object is empty.




Related Messages


Powered by MHonArc, Updated Thu Jan 22 17:20:02 2009