Author: bugman Date: Thu Oct 29 14:55:05 2009 New Revision: 9849 URL: http://svn.gna.org/viewcvs/relax?rev=9849&view=rev Log: The script name was being overwritten. Modified: branches/bmrb/generic_fns/exp_info.py Modified: branches/bmrb/generic_fns/exp_info.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/generic_fns/exp_info.py?rev=9849&r1=9848&r2=9849&view=diff ============================================================================== --- branches/bmrb/generic_fns/exp_info.py (original) +++ branches/bmrb/generic_fns/exp_info.py Thu Oct 29 14:55:05 2009 @@ -248,9 +248,9 @@ cdp.exp_info = ExpInfo() # Extract the text. - file = open_read_file(file, dir) - text = file.read() - file.close() + f = open_read_file(file, dir) + text = f.read() + f.close() # Place the data in the container. cdp.exp_info.setup_script(file=file, text=text, analysis_type=analysis_type, model_selection=model_selection, engine=engine, model_elim=model_elim, universal_solution=universal_solution)