mailr6412 - /1.3/data/pipe_container.py


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

Header


Content

Posted by edward on June 22, 2008 - 16:45:
Author: bugman
Date: Sun Jun 22 16:45:51 2008
New Revision: 6412

URL: http://svn.gna.org/viewcvs/relax?rev=6412&view=rev
Log:
The PipeContainer __repr__() and is_empty() methods can now automatically 
skip new class methods.


Modified:
    1.3/data/pipe_container.py

Modified: 1.3/data/pipe_container.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/pipe_container.py?rev=6412&r1=6411&r2=6412&view=diff
==============================================================================
--- 1.3/data/pipe_container.py (original)
+++ 1.3/data/pipe_container.py Sun Jun 22 16:45:51 2008
@@ -77,7 +77,7 @@
                 text = text + "  structure: The 3D molecular data object\n"
 
             # Skip the PipeContainer methods.
-            if name in ['is_empty', 'xml_write']:
+            if name in self.__class__.__dict__.keys():
                 continue
 
             # Skip certain objects.
@@ -117,7 +117,7 @@
                 continue
 
             # Skip the PipeContainer methods.
-            if name in ['is_empty', 'xml_write']:
+            if name in self.__class__.__dict__.keys():
                 continue
 
             # Skip special objects.




Related Messages


Powered by MHonArc, Updated Sun Jun 22 17:00:22 2008