Author: bugman Date: Fri Mar 9 09:06:52 2007 New Revision: 3133 URL: http://svn.gna.org/viewcvs/relax?rev=3133&view=rev Log: Fixed the __repr__() method of the MoleculeList class. Modified: 1.3/data/mol_res_spin.py Modified: 1.3/data/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/mol_res_spin.py?rev=3133&r1=3132&r2=3133&view=diff ============================================================================== --- 1.3/data/mol_res_spin.py (original) +++ 1.3/data/mol_res_spin.py Fri Mar 9 09:06:52 2007 @@ -38,10 +38,10 @@ def __repr__(self): text = "Molecules.\n\n" - text = text + "%-8s%-8s%-8s%-10s" % ("Index", "Number", "Name", "Selected") + "\n" + text = text + "%-8s%-8s" % ("Index", "Name") + "\n" for i in xrange(len(self)): - text = text + "%-8i%-8i%-8s%-10i" % (i, self[i].num, self[i].name, self[i].select) + "\n" - text = text + "\nThese can be accessed by typing 'relax_data_store.res[key][index]'.\n" + text = text + "%-8i%-8i" % (i, self[i].name) + "\n" + text = text + "\nThese can be accessed by typing 'relax_data_store.mol[index]'.\n" return text