mailr9849 - /branches/bmrb/generic_fns/exp_info.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 29, 2009 - 14:55:
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)




Related Messages


Powered by MHonArc, Updated Thu Oct 29 16:00:03 2009