Author: bugman Date: Fri Jul 15 12:25:21 2011 New Revision: 13641 URL: http://svn.gna.org/viewcvs/relax?rev=13641&view=rev Log: Fix for the new relax save state with current pipe info - the cdp ojbect is now set after loading. Modified: 1.3/data/__init__.py Modified: 1.3/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/__init__.py?rev=13641&r1=13640&r2=13641&view=diff ============================================================================== --- 1.3/data/__init__.py (original) +++ 1.3/data/__init__.py Fri Jul 15 12:25:21 2011 @@ -313,6 +313,10 @@ # Fill the pipe. self[pipe_name].from_xml(pipe_node, file_version=file_version, dir=dir) + # Set the current pipe. + if self.current_pipe in self.keys(): + __builtin__.cdp = self[self.current_pipe] + def to_xml(self, file, pipes=None): """Create a XML document representation of the current data pipe.