Fix sawsim_histogram imports in velocity_dependant_scan.py.
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 07:09:24 +0000 (03:09 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 07:09:24 +0000 (03:09 -0400)
pysawsim/velocity_dependant_scan.py

index 9d12b1923b85e4ebb84e1b63a04ad1b303e8dde7..72b4d07171d8307571906e8f075c5b877433da3c 100644 (file)
@@ -31,7 +31,7 @@ from scipy.optimize import leastsq
 from . import log
 from .histogram import Histogram
 from .manager import MANAGERS, get_manager
-from .sawsim_histogram import SawsimHistogram
+from . import sawsim_histogram
 
 
 matplotlib.use('Agg')  # select backend that doesn't require X Windows
@@ -66,7 +66,8 @@ class HistogramMatcher (object):
         self.residual_type = residual_type
         self.N = N
         self.plot = plot
-        self.sawsim_histogram = SawsimHistogram(use_cache=self.use_cache)
+        self.sawsim_histogram = sawsim_histogram.SawsimHistogram(
+            use_cache=self.use_cache)
 
     def read_force_histograms(self, stream):
         """