mailr7406 - in /1.3/generic_fns/structure: internal.py scientific.py


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

Header


Content

Posted by edward on September 27, 2008 - 16:32:
Author: bugman
Date: Sat Sep 27 16:32:34 2008
New Revision: 7406

URL: http://svn.gna.org/viewcvs/relax?rev=7406&view=rev
Log:
Fixed some references to os.path.


Modified:
    1.3/generic_fns/structure/internal.py
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal.py?rev=7406&r1=7405&r2=7406&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Sat Sep 27 16:32:34 2008
@@ -25,7 +25,8 @@
 
 # Python module imports.
 from numpy import array, float64, linalg, zeros
-from os import F_OK, access, path
+import os
+from os import F_OK, access
 from re import search
 from string import split, strip, upper
 from warnings import warn
@@ -846,7 +847,7 @@
             return False
 
         # Separate the file name and path.
-        path, file = path.split(file_path)
+        path, file = os.path.split(file_path)
 
         # The ID name.
         name = file

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=7406&r1=7405&r2=7406&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Sat Sep 27 16:32:34 2008
@@ -29,7 +29,8 @@
 # Python module imports.
 from math import sqrt
 from numpy import array, dot, float64, zeros
-from os import F_OK, access, path
+import os
+from os import F_OK, access
 if dep_check.scientific_pdb_module:
     import Scientific.IO.PDB
 from warnings import warn
@@ -539,7 +540,7 @@
             return False
 
         # Separate the file name and path.
-        path, file = path.split(file_path)
+        path, file = os.path.split(file_path)
 
         # The ID name.
         name = file




Related Messages


Powered by MHonArc, Updated Sat Sep 27 16:40:02 2008