Author: bugman Date: Fri Feb 1 17:04:27 2013 New Revision: 18360 URL: http://svn.gna.org/viewcvs/relax?rev=18360&view=rev Log: Fix for bug #20471 (https://gna.org/bugs/?20471). The problem was that the data pipe is_empty() method was not handling structural data correctly. The is_empty() method now belongs to the MolContainer objects rather than cdp.structure, and the object cdp.structure is not always present. Modified: trunk/data/pipe_container.py Modified: trunk/data/pipe_container.py URL: http://svn.gna.org/viewcvs/relax/trunk/data/pipe_container.py?rev=18360&r1=18359&r2=18360&view=diff ============================================================================== --- trunk/data/pipe_container.py (original) +++ trunk/data/pipe_container.py Fri Feb 1 17:04:27 2013 @@ -260,7 +260,7 @@ """ # Is the molecule structure data object empty? - if hasattr(self, 'structure') and not self.structure.is_empty(): + if hasattr(self, 'structure'): return False # Is the molecule/residue/spin data object empty?