Author: bugman Date: Mon Aug 16 22:10:56 2010 New Revision: 11520 URL: http://svn.gna.org/viewcvs/relax?rev=11520&view=rev Log: The base contents of the relax data store are no longer saved with a call to results.write(). 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=11520&r1=11519&r2=11520&view=diff ============================================================================== --- 1.3/data/__init__.py (original) +++ 1.3/data/__init__.py Mon Aug 16 22:10:56 2010 @@ -312,7 +312,9 @@ """ # The pipes to include in the XML file. + all = False if not pipes: + all = True pipes = self.keys() elif isinstance(pipes, str): pipes = [pipes] @@ -334,7 +336,8 @@ top_element.setAttribute('time', asctime()) # Add all simple python objects within the PipeContainer to the pipe element. - fill_object_contents(xmldoc, top_element, object=self, blacklist=list(self.__class__.__dict__.keys() + dict.__dict__.keys())) + if all: + fill_object_contents(xmldoc, top_element, object=self, blacklist=list(self.__class__.__dict__.keys() + dict.__dict__.keys())) # Loop over the pipes. for pipe in pipes: