Use relative imports (PEP 328) for calibcant sibling imports.
authorW. Trevor King <wking@drexel.edu>
Tue, 1 Jun 2010 12:30:56 +0000 (08:30 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 1 Jun 2010 12:30:56 +0000 (08:30 -0400)
calibcant/calibrate.py

index a485bf4dc524edab8a5b9c537c63d34341ddf4c7..5789f7f69ed88e2e23e4131194f8f84040ad8a1b 100755 (executable)
@@ -104,17 +104,19 @@ which make automating the calibration procedure more straightforward.
 
 import numpy
 import time 
+
+import FFT_tools
 import piezo.z_piezo_utils as z_piezo_utils
 from splittable_kwargs import splittableKwargsFunction, \
     make_splittable_kwargs_function
-import FFT_tools
 
-import common
-import config
-import bump_analyze
-import T_analyze
-import vib_analyze
-import analyze
+import .common
+import .config
+import .bump_analyze
+import .T_analyze
+import .vib_analyze
+import .analyze
+
 
 # bump family