From: W. Trevor King Date: Wed, 20 Oct 2010 07:09:24 +0000 (-0400) Subject: Fix sawsim_histogram imports in velocity_dependant_scan.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=588fcff6140fd9de0b60df54b012d827fe734baa;p=sawsim.git Fix sawsim_histogram imports in velocity_dependant_scan.py. --- diff --git a/pysawsim/velocity_dependant_scan.py b/pysawsim/velocity_dependant_scan.py index 9d12b19..72b4d07 100644 --- a/pysawsim/velocity_dependant_scan.py +++ b/pysawsim/velocity_dependant_scan.py @@ -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): """