Author: bugman Date: Thu Jan 15 11:28:15 2009 New Revision: 8458 URL: http://svn.gna.org/viewcvs/relax?rev=8458&view=rev Log: Bug fix for the MolList.add_item() method. The molecule name is now stored within the molecule containers. 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=8458&r1=8457&r2=8458&view=diff ============================================================================== --- branches/multi_structure/generic_fns/structure/api_base.py (original) +++ branches/multi_structure/generic_fns/structure/api_base.py Thu Jan 15 11:28:15 2009 @@ -891,6 +891,9 @@ # Append an empty MolContainer. self.append(mol_cont) + # Set the molecule name. + self[-1].name = mol_name + def is_empty(self): """Method for testing if this MolList object is empty.