[Scipy-svn] r3402 - in trunk/scipy/io/nifti: . tests

scipy-svn@scip... scipy-svn@scip...
Thu Oct 4 00:54:37 CDT 2007


Author: jarrod.millman
Date: 2007-10-04 00:54:33 -0500 (Thu, 04 Oct 2007)
New Revision: 3402

Modified:
   trunk/scipy/io/nifti/__init__.py
   trunk/scipy/io/nifti/tests/test_fileio.py
   trunk/scipy/io/nifti/tests/test_utils.py
   trunk/scipy/io/nifti/utils.py
Log:
update imports


Modified: trunk/scipy/io/nifti/__init__.py
===================================================================
--- trunk/scipy/io/nifti/__init__.py	2007-10-04 05:46:17 UTC (rev 3401)
+++ trunk/scipy/io/nifti/__init__.py	2007-10-04 05:54:33 UTC (rev 3402)
@@ -15,4 +15,4 @@
 #
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
 
-from niftiimage import *
+from scipy.io.nifti.niftiimage import *

Modified: trunk/scipy/io/nifti/tests/test_fileio.py
===================================================================
--- trunk/scipy/io/nifti/tests/test_fileio.py	2007-10-04 05:46:17 UTC (rev 3401)
+++ trunk/scipy/io/nifti/tests/test_fileio.py	2007-10-04 05:54:33 UTC (rev 3402)
@@ -15,13 +15,13 @@
 #
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
 
-import nifti
 import unittest
 import md5
 import tempfile
 import shutil
 import os
 import numpy as np
+import scipy.io.nifti
 
 
 def md5sum(filename):

Modified: trunk/scipy/io/nifti/tests/test_utils.py
===================================================================
--- trunk/scipy/io/nifti/tests/test_utils.py	2007-10-04 05:46:17 UTC (rev 3401)
+++ trunk/scipy/io/nifti/tests/test_utils.py	2007-10-04 05:54:33 UTC (rev 3402)
@@ -15,7 +15,7 @@
 #
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
 
-import nifti.utils
+import scipy.io.nifti.utils
 import numpy
 import unittest
 

Modified: trunk/scipy/io/nifti/utils.py
===================================================================
--- trunk/scipy/io/nifti/utils.py	2007-10-04 05:46:17 UTC (rev 3401)
+++ trunk/scipy/io/nifti/utils.py	2007-10-04 05:54:33 UTC (rev 3402)
@@ -15,8 +15,8 @@
 #
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
 
-import nifti
 import numpy
+import scipy.io.nifti
 
 def time2vol( t, tr, lag=0.0, decimals=0 ):
     """ Translates a time 't' into a volume number. By default function returns



More information about the Scipy-svn mailing list