Author: bugman Date: Wed Jan 27 17:23:42 2010 New Revision: 10445 URL: http://svn.gna.org/viewcvs/relax?rev=10445&view=rev Log: Merged revisions 10443 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r10443 | bugman | 2010-01-27 17:22:00 +0100 (Wed, 27 Jan 2010) | 3 lines The generic_fns.state.save_state() function can now have the verbosity level changed. ........ Modified: branches/bieri_gui/ (props changed) branches/bieri_gui/generic_fns/state.py Propchange: branches/bieri_gui/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Wed Jan 27 17:23:42 2010 @@ -1,1 +1,1 @@ -/1.3:1-10435 +/1.3:1-10444 Modified: branches/bieri_gui/generic_fns/state.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/generic_fns/state.py?rev=10445&r1=10444&r2=10445&view=diff ============================================================================== --- branches/bieri_gui/generic_fns/state.py (original) +++ branches/bieri_gui/generic_fns/state.py Wed Jan 27 17:23:42 2010 @@ -136,13 +136,15 @@ raise RelaxError("The saved state " + repr(state) + " is not compatible with this version of relax.") -def save_state(state=None, dir=None, compress_type=1, force=False, pickle=False): +def save_state(state=None, dir=None, compress_type=1, verbosity=1, force=False, pickle=False): """Function for saving the program state. @keyword state: The saved state file. @type state: str @keyword dir: The path of the state file. @type dir: str + @param verbosity: The verbosity level. + @type verbosity: int @keyword force: Boolean argument which if True causes the file to be overwritten if it already exists. @type force: bool @@ -152,7 +154,7 @@ """ # Open the file for writing. - file = open_write_file(file_name=state, dir=dir, force=force, compress_type=compress_type) + file = open_write_file(file_name=state, dir=dir, verbosity=verbosity, force=force, compress_type=compress_type) # Pickle the data class and write it to file if pickle: