Author: bugman Date: Thu Sep 10 19:01:25 2009 New Revision: 9501 URL: http://svn.gna.org/viewcvs/relax?rev=9501&view=rev Log: The save_state() function now calls the relax data store to_xml() method. This method is currently only for one data pipe, and is used by the results writing user function. Modified: 1.3/generic_fns/state.py Modified: 1.3/generic_fns/state.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/state.py?rev=9501&r1=9500&r2=9501&view=diff ============================================================================== --- 1.3/generic_fns/state.py (original) +++ 1.3/generic_fns/state.py Thu Sep 10 19:01:25 2009 @@ -163,5 +163,9 @@ if pickle: dump(ds, file, 1) + # Otherwise save as XML. + else: + ds.to_xml(file) + # Close the file. file.close()