mailr6491 - /1.3/relax_io.py


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

Header


Content

Posted by edward on June 25, 2008 - 00:40:
Author: bugman
Date: Wed Jun 25 00:13:24 2008
New Revision: 6491

URL: http://svn.gna.org/viewcvs/relax?rev=6491&view=rev
Log:
Bug fix for the extract_data() function.


Modified:
    1.3/relax_io.py

Modified: 1.3/relax_io.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=6491&r1=6490&r2=6491&view=diff
==============================================================================
--- 1.3/relax_io.py (original)
+++ 1.3/relax_io.py Wed Jun 25 00:13:24 2008
@@ -108,7 +108,7 @@
     # Data not already extracted from the file.
     if not file_data:
         # Open the file.
-        if type(file) != file:
+        if type(file) == str:
             file = open_read_file(file_name=file, dir=dir)
 
         # Read lines.




Related Messages


Powered by MHonArc, Updated Wed Jun 25 02:00:29 2008