Author: bugman Date: Thu Aug 25 12:26:31 2011 New Revision: 14442 URL: http://svn.gna.org/viewcvs/relax?rev=14442&view=rev Log: Fix for the pymol.write user function - the file name can be set to None! Modified: 1.3/prompt/pymol_control.py Modified: 1.3/prompt/pymol_control.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/pymol_control.py?rev=14442&r1=14441&r2=14442&view=diff ============================================================================== --- 1.3/prompt/pymol_control.py (original) +++ 1.3/prompt/pymol_control.py Thu Aug 25 12:26:31 2011 @@ -321,7 +321,7 @@ arg_check.is_str_or_num_list(colour_start, 'starting colour of the linear gradient', size=3, can_be_none=True) arg_check.is_str_or_num_list(colour_end, 'ending colour of the linear gradient', size=3, can_be_none=True) arg_check.is_str(colour_list, 'colour list', can_be_none=True) - arg_check.is_str_or_inst(file, 'file name') + arg_check.is_str_or_inst(file, 'file name', can_be_none=True) arg_check.is_str(dir, 'directory name', can_be_none=True) arg_check.is_bool(force, 'force flag')