Author: bugman Date: Fri Mar 9 09:12:42 2007 New Revision: 3135 URL: http://svn.gna.org/viewcvs/relax?rev=3135&view=rev Log: Two fixes for the MoleculeList class method __repr__(). 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=3135&r1=3134&r2=3135&view=diff ============================================================================== --- 1.3/data/mol_res_spin.py (original) +++ 1.3/data/mol_res_spin.py Fri Mar 9 09:12:42 2007 @@ -40,8 +40,8 @@ text = "Molecules.\n\n" text = text + "%-8s%-8s" % ("Index", "Name") + "\n" for i in xrange(len(self)): - text = text + "%-8i%-8i" % (i, self[i].name) + "\n" - text = text + "\nThese can be accessed by typing 'relax_data_store.mol[index]'.\n" + text = text + "%-8i%-8s" % (i, self[i].name) + "\n" + text = text + "\nThese can be accessed by typing 'D.mol[index]', where D is the relax data storage object.\n" return text