Apply some fixes to get calibrations working and bump version.
[calibcant.git] / calibcant / T_analyze.py
index d52475d86c7d8cfef67823c5fa6258492c5a8c11..00804cd969568f1d74a8450f2f24c9f8ca21213b 100755 (executable)
@@ -72,8 +72,8 @@ def T_save(T, log_dir=None) :
         log = data_logger.data_log(log_dir, noclobber_logsubdir=False,
                                    log_name="T_float")
         log.write_binary(T.tostring())
-    if LOG_DATA != None :
-        log = data_logger.data_log(LOG_DIR, noclobber_logsubdir=False,
+    if config.LOG_DATA != None :
+        log = data_logger.data_log(config.LOG_DIR, noclobber_logsubdir=False,
                                    log_name="T_float")
         log.write_binary(T.tostring())
         
@@ -94,7 +94,7 @@ def T_plot(T, plotVerbose=False) :
     """
     Umm, just print the temperature?
     """
-    if plotVerbose or PYLAB_VERBOSE or TEXT_VERBOSE :
+    if plotVerbose or config.PYLAB_VERBOSE or config.TEXT_VERBOSE :
         print "Temperature ", T
 
 @splittableKwargsFunction((T_analyze, 'T', 'convert_to_K'),