From 588fcff6140fd9de0b60df54b012d827fe734baa Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Oct 2010 03:09:24 -0400 Subject: [PATCH] Fix sawsim_histogram imports in velocity_dependant_scan.py. --- pysawsim/velocity_dependant_scan.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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): """ -- 2.26.2