mailr5475 - /1.3/data/mol_res_spin.py


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

Header


Content

Posted by edward on April 09, 2008 - 10:55:
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.




Related Messages


Powered by MHonArc, Updated Wed Apr 09 11:20:11 2008