Author: bugman Date: Wed Apr 9 10:55:21 2008 New Revision: 5475 URL: http://svn.gna.org/viewcvs/relax?rev=5475&view=rev Log: Improvements to the ResidueContainer.__repr__() method. 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=5475&r1=5474&r2=5475&view=diff ============================================================================== --- 1.3/data/mol_res_spin.py (original) +++ 1.3/data/mol_res_spin.py Wed Apr 9 10:55:21 2008 @@ -193,9 +193,14 @@ # Spin systems. if name == 'spin': text = text + " spin: The list of spin systems of the residues\n" - - # Skip certain objects. - if match("^_", name) or name == 'spin': + continue + + # Skip the SpinContainer methods. + if name == 'is_empty': + continue + + # Skip special objects. + if match("^__", name): continue # Add the object's attribute to the text string.