From: devicerandom Date: Sat, 14 Jun 2008 00:02:13 +0000 (+0000) Subject: JPK driver now consistent with hooke conventions, wlc and peaks now seem to work... X-Git-Tag: 0.9.0~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d31aab33e3a0c8434d38e96cc8444a3a723631fb;p=hooke.git JPK driver now consistent with hooke conventions, wlc and peaks now seem to work on JPK curves --- diff --git a/jpk.py b/jpk.py index 2249d85..f7ba343 100644 --- a/jpk.py +++ b/jpk.py @@ -108,13 +108,15 @@ class jpkDriver(lhc.Driver): force_ext=force.ext() force_ret=force.ret() #reverse the return data, to make it coherent with hooke standard - height_ms_ret.reverse - force_ret.reverse + height_ms_ret.reverse() + force_ret.reverse() main_plot=lhc.PlotObject() main_plot.add_set(height_ms_ext,force_ext) main_plot.add_set(height_ms_ret,force_ret) + + if self.springconstant != 0: main_plot.units=['meters','force'] else: